summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-03 15:53:56 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-18 16:36:16 +0200
commit84ce4484e7cee8a1d32da698a23941d2ed429b0c (patch)
tree3e7dc16cbe8a76334465eea2e802ddecb2625cd8 /source3/smbd
parentd79b46f358d7e6fd942bb0f3da2174455e9b1740 (diff)
downloadsamba-84ce4484e7cee8a1d32da698a23941d2ed429b0c.tar.gz
samba-84ce4484e7cee8a1d32da698a23941d2ed429b0c.tar.bz2
samba-84ce4484e7cee8a1d32da698a23941d2ed429b0c.zip
s3:smbd: SMBtdis should return ERRSRV, ERRinvnid instead of NETWORK_NAME_DELETED
Found by the raw.context test. metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index dc4310639b..45f761c630 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -5058,7 +5058,7 @@ void reply_tdis(struct smb_request *req)
if (!conn) {
DEBUG(4,("Invalid connection in tdis\n"));
- reply_nterror(req, NT_STATUS_NETWORK_NAME_DELETED);
+ reply_force_doserror(req, ERRSRV, ERRinvnid);
END_PROFILE(SMBtdis);
return;
}