Skip to content

Commit 2ef4f6b

Browse files
haryvensmfrench
authored andcommitted
smb/client: add NT_STATUS_NO_RECOVERY_POLICY
See MS-ERREf 2.3.1 STATUS_NO_RECOVERY_POLICY. Signed-off-by: Huiwen He <hehuiwen@kylinos.cn> Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 47b84c7 commit 2ef4f6b

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

fs/smb/client/nterr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ const struct nt_err_code_struct nt_errs[] = {
686686
{"NT_STATUS_ENCRYPTION_FAILED", NT_STATUS_ENCRYPTION_FAILED},
687687
{"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED},
688688
{"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND},
689+
{"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY},
689690
{"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
690691
{"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
691692
{"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},

fs/smb/client/nterr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ extern const struct nt_err_code_struct nt_errs[];
556556
#define NT_STATUS_ENCRYPTION_FAILED (0xC0000000 | 0x028a)
557557
#define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b)
558558
#define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c)
559+
#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)
559560
#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)
560561
#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE) /* scheduler */
561562
#define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)

fs/smb/client/smb1maperror.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ static const struct {
663663
ERRDOS, ERRnoaccess, NT_STATUS_ENCRYPTION_FAILED}, {
664664
ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, {
665665
ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, {
666-
ERRDOS, ERRnoaccess, 0xc000028d}, {
666+
ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, {
667667
ERRDOS, ERRnoaccess, 0xc000028e}, {
668668
ERRDOS, ERRnoaccess, 0xc000028f}, {
669669
ERRDOS, ERRnoaccess, 0xc0000290}, {

0 commit comments

Comments
 (0)