svn commit: samba r7510 - in branches/SAMBA_4_0/source/smb_server: .

tridge at samba.org tridge at samba.org
Sun Jun 12 12:24:55 GMT 2005


Author: tridge
Date: 2005-06-12 12:24:54 +0000 (Sun, 12 Jun 2005)
New Revision: 7510

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7510

Log:
fixed error code for using a bad tid.

amazingly, I have seen w2k do a session setup followed by an immediate
attempted opening of \netlogon, with no tconx to ipc$ first. So this
error code can matter.


Modified:
   branches/SAMBA_4_0/source/smb_server/smb_server.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb_server.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb_server.c	2005-06-12 11:55:48 UTC (rev 7509)
+++ branches/SAMBA_4_0/source/smb_server/smb_server.c	2005-06-12 12:24:54 UTC (rev 7510)
@@ -511,7 +511,7 @@
 
 	/* does this protocol need a valid tree connection? */
 	if ((flags & AS_USER) && !req->tcon) {
-		req_reply_error(req, NT_STATUS_INVALID_HANDLE);
+		req_reply_error(req, NT_STATUS_DOS(ERRSRV, ERRinvnid));
 		return;
 	}
 



More information about the samba-cvs mailing list