Skip to content

Commit 0bf7e53

Browse files
haryvensmfrench
authored andcommitted
smb/client: add NT_STATUS_NO_USER_KEYS
See MS-ERREf 2.3.1 STATUS_NO_USER_KEYS. 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 ded739a commit 0bf7e53

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
@@ -689,6 +689,7 @@ const struct nt_err_code_struct nt_errs[] = {
689689
{"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY},
690690
{"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS},
691691
{"NT_STATUS_WRONG_EFS", NT_STATUS_WRONG_EFS},
692+
{"NT_STATUS_NO_USER_KEYS", NT_STATUS_NO_USER_KEYS},
692693
{"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
693694
{"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
694695
{"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
@@ -559,6 +559,7 @@ extern const struct nt_err_code_struct nt_errs[];
559559
#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)
560560
#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)
561561
#define NT_STATUS_WRONG_EFS (0xC0000000 | 0x028f)
562+
#define NT_STATUS_NO_USER_KEYS (0xC0000000 | 0x0290)
562563
#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)
563564
#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE) /* scheduler */
564565
#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
@@ -666,7 +666,7 @@ static const struct {
666666
ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, {
667667
ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, {
668668
ERRDOS, ERRnoaccess, NT_STATUS_WRONG_EFS}, {
669-
ERRDOS, ERRnoaccess, 0xc0000290}, {
669+
ERRDOS, ERRnoaccess, NT_STATUS_NO_USER_KEYS}, {
670670
ERRDOS, ERRbadfunc, 0xc000029c}, {
671671
ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, {
672672
ERRDOS, ERRunknownlevel, NT_STATUS_OS2_INVALID_LEVEL}, {

0 commit comments

Comments
 (0)