smb/client: add NT_STATUS_VOLUME_NOT_UPGRADED

See MS-ERREf 2.3.1 STATUS_VOLUME_NOT_UPGRADED.

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:49:10 +08:00 committed by Steve French
parent 0bf7e53fec
commit 199e7a1a2e
3 changed files with 3 additions and 1 deletions

View File

@ -690,6 +690,7 @@ const struct nt_err_code_struct nt_errs[] = {
{"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS},
{"NT_STATUS_WRONG_EFS", NT_STATUS_WRONG_EFS},
{"NT_STATUS_NO_USER_KEYS", NT_STATUS_NO_USER_KEYS},
{"NT_STATUS_VOLUME_NOT_UPGRADED", NT_STATUS_VOLUME_NOT_UPGRADED},
{"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
{"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
{"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},

View File

@ -560,6 +560,7 @@ extern const struct nt_err_code_struct nt_errs[];
#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)
#define NT_STATUS_WRONG_EFS (0xC0000000 | 0x028f)
#define NT_STATUS_NO_USER_KEYS (0xC0000000 | 0x0290)
#define NT_STATUS_VOLUME_NOT_UPGRADED (0xC0000000 | 0x029c)
#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)

View File

@ -667,7 +667,7 @@ static const struct {
ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, {
ERRDOS, ERRnoaccess, NT_STATUS_WRONG_EFS}, {
ERRDOS, ERRnoaccess, NT_STATUS_NO_USER_KEYS}, {
ERRDOS, ERRbadfunc, 0xc000029c}, {
ERRDOS, ERRbadfunc, NT_STATUS_VOLUME_NOT_UPGRADED}, {
ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, {
ERRDOS, ERRunknownlevel, NT_STATUS_OS2_INVALID_LEVEL}, {
0, 0, 0 }