Skip to content

Commit 3988b56

Browse files
haryvensmfrench
authored andcommitted
smb/client: add NT_STATUS_NO_EFS
See MS-ERREf 2.3.1 STATUS_NO_EFS. 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 2ef4f6b commit 3988b56

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
@@ -687,6 +687,7 @@ const struct nt_err_code_struct nt_errs[] = {
687687
{"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED},
688688
{"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND},
689689
{"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY},
690+
{"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS},
690691
{"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
691692
{"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
692693
{"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
@@ -557,6 +557,7 @@ extern const struct nt_err_code_struct nt_errs[];
557557
#define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b)
558558
#define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c)
559559
#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)
560+
#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)
560561
#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)
561562
#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE) /* scheduler */
562563
#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
@@ -664,7 +664,7 @@ static const struct {
664664
ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, {
665665
ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, {
666666
ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, {
667-
ERRDOS, ERRnoaccess, 0xc000028e}, {
667+
ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, {
668668
ERRDOS, ERRnoaccess, 0xc000028f}, {
669669
ERRDOS, ERRnoaccess, 0xc0000290}, {
670670
ERRDOS, ERRbadfunc, 0xc000029c}, {

0 commit comments

Comments
 (0)