smb/client: add NT_STATUS_OS2_INVALID_LEVEL

See MS-CIFS 2.2.2.4 STATUS_OS2_INVALID_LEVEL.

Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Huiwen He 2026-01-21 19:48:57 +08:00 committed by Steve French
parent b0a2291594
commit cd55c6e311
3 changed files with 3 additions and 1 deletions

View File

@ -684,5 +684,6 @@ const struct nt_err_code_struct nt_errs[] = {
{"NT_STATUS_NO_SUCH_JOB", NT_STATUS_NO_SUCH_JOB},
{"NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP",
NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP},
{"NT_STATUS_OS2_INVALID_LEVEL", NT_STATUS_OS2_INVALID_LEVEL},
{NULL, 0}
};

View File

@ -552,5 +552,6 @@ extern const struct nt_err_code_struct nt_errs[];
#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)
#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE) /* scheduler */
#define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
#define NT_STATUS_OS2_INVALID_LEVEL 0x007c0001
#endif /* _NTERR_H */

View File

@ -669,7 +669,7 @@ static const struct {
ERRDOS, ERRnoaccess, 0xc0000290}, {
ERRDOS, ERRbadfunc, 0xc000029c}, {
ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, {
ERRDOS, ERRinvlevel, 0x007c0001}, {
ERRDOS, ERRinvlevel, NT_STATUS_OS2_INVALID_LEVEL}, {
0, 0, 0 }
};