summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 07:11:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:40 -0500
commit611e9e601c4bcfa7e871bfd6b53bc8b5bb1c6ad4 (patch)
tree7202acbb163520ab5f00ed62d7294fcff0d0ef5a /source4/smb_server
parent5d1c5d38539c081f91fd5a456517f5913e593692 (diff)
downloadsamba-611e9e601c4bcfa7e871bfd6b53bc8b5bb1c6ad4.tar.gz
samba-611e9e601c4bcfa7e871bfd6b53bc8b5bb1c6ad4.tar.bz2
samba-611e9e601c4bcfa7e871bfd6b53bc8b5bb1c6ad4.zip
r3202: return a old DOS error code ERRSRV:ERRbaduid for a bad vuid. This means we now pass the BASE-VUID test.
(This used to be commit 560300c0025940d84c9be41447145f4b441e7105)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index 97df603517..920f56d334 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -480,7 +480,7 @@ static void switch_message(int type, struct smbsrv_request *req)
/* see if the vuid is valid */
if ((flags & AS_USER) && !req->session) {
if (!(flags & AS_GUEST)) {
- req_reply_error(req, NT_STATUS_INVALID_HANDLE);
+ req_reply_error(req, NT_STATUS_DOS(ERRSRV, ERRbaduid));
return;
}
}