mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
smb/client: map NT_STATUS_NOTIFY_ENUM_DIR
See MS-CIFS 2.2.2.4 STATUS_NOTIFY_ENUM_DIR. Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
66dc58bdbd
commit
ba39063ca3
|
|
@ -14,6 +14,7 @@
|
|||
const struct nt_err_code_struct nt_errs[] = {
|
||||
{"NT_STATUS_OK", NT_STATUS_OK},
|
||||
{"NT_STATUS_PENDING", NT_STATUS_PENDING},
|
||||
{"NT_STATUS_NOTIFY_ENUM_DIR", NT_STATUS_NOTIFY_ENUM_DIR},
|
||||
{"NT_STATUS_MEDIA_CHANGED", NT_STATUS_MEDIA_CHANGED},
|
||||
{"NT_STATUS_END_OF_MEDIA", NT_STATUS_END_OF_MEDIA},
|
||||
{"NT_STATUS_MEDIA_CHECK", NT_STATUS_MEDIA_CHECK},
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ extern const struct nt_err_code_struct nt_errs[];
|
|||
#define NT_ERROR_INVALID_PARAMETER 0x0057
|
||||
#define NT_ERROR_INSUFFICIENT_BUFFER 0x007a
|
||||
#define NT_STATUS_1804 0x070c
|
||||
#define NT_STATUS_NOTIFY_ENUM_DIR 0x010c
|
||||
|
||||
/*
|
||||
* Win32 Error codes extracted using a loop in smbclient then printing a netmon
|
||||
|
|
@ -37,6 +36,7 @@ extern const struct nt_err_code_struct nt_errs[];
|
|||
#define NT_STATUS_OK 0x0000
|
||||
#define NT_STATUS_PENDING 0x0103
|
||||
#define NT_STATUS_SOME_UNMAPPED 0x0107
|
||||
#define NT_STATUS_NOTIFY_ENUM_DIR 0x010c
|
||||
#define NT_STATUS_BUFFER_OVERFLOW 0x80000005
|
||||
#define NT_STATUS_NO_MORE_ENTRIES 0x8000001a
|
||||
#define NT_STATUS_MEDIA_CHANGED 0x8000001c
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ static const struct {
|
|||
__u32 ntstatus;
|
||||
} ntstatus_to_dos_map[] = {
|
||||
{
|
||||
ERRSRV, ERR_NOTIFY_ENUM_DIR, NT_STATUS_NOTIFY_ENUM_DIR}, {
|
||||
ERRDOS, ERRgeneral, NT_STATUS_UNSUCCESSFUL}, {
|
||||
ERRDOS, ERRbadfunc, NT_STATUS_NOT_IMPLEMENTED}, {
|
||||
ERRDOS, ERRbadpipe, NT_STATUS_INVALID_INFO_CLASS}, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user