git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f39eb2
)
s3:smbd: SMBtdis should return ERRSRV, ERRinvnid instead of NETWORK_NAME_DELETED
author
Stefan Metzmacher
<metze@samba.org>
Thu, 3 May 2012 13:53:56 +0000
(15:53 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 16 May 2012 06:10:08 +0000
(08:10 +0200)
Found by the raw.context test.
metze
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index b4e764e15c03cff05bed8c237e5ee16612d97aac..91d12bd3e38502b568e27a4733c46ff544707afe 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-5063,7
+5063,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;
}