summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-08 17:53:47 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-10 17:21:32 +0200
commitcd8e2fd9fa2d2b0ef8c3c7189697577d46c2f848 (patch)
tree39c7e84622ab5216a5b0449948392d578cd33890 /source3/libsmb
parent88f96578cde4fa0b4aa18234a5c4c2f453fcc2c8 (diff)
downloadsamba-cd8e2fd9fa2d2b0ef8c3c7189697577d46c2f848.tar.gz
samba-cd8e2fd9fa2d2b0ef8c3c7189697577d46c2f848.tar.bz2
samba-cd8e2fd9fa2d2b0ef8c3c7189697577d46c2f848.zip
s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETED
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/errormap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index 8b4ef23690..babe6b993d 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -182,6 +182,7 @@ static const struct {
during the session setup }
*/
{ERRSRV, ERRbadpw, NT_STATUS_WRONG_PASSWORD},
+ {ERRSRV, ERRbaduid, NT_STATUS_USER_SESSION_DELETED},
{ERRHRD, ERRgeneral, NT_STATUS_ILL_FORMED_PASSWORD},
{ERRHRD, ERRgeneral, NT_STATUS_PASSWORD_RESTRICTION},
{ERRDOS, ERRnoaccess, NT_STATUS_LOGON_FAILURE},
@@ -736,6 +737,7 @@ static const struct {
{ERRDOS, 1021, NT_STATUS_CHILD_MUST_BE_VOLATILE},
{ERRDOS, 1022, NT_STATUS(0x0000010c)},
{ERRSRV, ERRbadpw, NT_STATUS_WRONG_PASSWORD},
+ {ERRSRV, ERRbaduid, NT_STATUS_USER_SESSION_DELETED},
{ERRSRV, ERRbadtype, NT_STATUS_BAD_DEVICE_TYPE},
{ERRSRV, ERRaccess, NT_STATUS_NETWORK_ACCESS_DENIED},
{ERRSRV, ERRinvnid, NT_STATUS_NETWORK_NAME_DELETED},