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

tridge at samba.org tridge at samba.org
Sun Sep 26 11:25:33 GMT 2004


Author: tridge
Date: 2004-09-26 11:25:33 +0000 (Sun, 26 Sep 2004)
New Revision: 2658

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/smb_server&rev=2658&nolog=1

Log:
fixed a couple of error codes found with RAW-CONTEXT





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	2004-09-26 11:24:39 UTC (rev 2657)
+++ branches/SAMBA_4_0/source/smb_server/smb_server.c	2004-09-26 11:25:33 UTC (rev 2658)
@@ -473,14 +473,14 @@
 	
 	/* does this protocol need a valid tree connection? */
 	if ((flags & AS_USER) && !req->tcon) {
-		req_reply_error(req, NT_STATUS_NETWORK_NAME_DELETED);
+		req_reply_error(req, NT_STATUS_INVALID_HANDLE);
 		return;
 	}
 
 	/* see if the vuid is valid */
 	if ((flags & AS_USER) && !req->session) {
 		if (!(flags & AS_GUEST)) {
-			req_reply_error(req, NT_STATUS_DOS(ERRSRV, ERRbaduid));
+			req_reply_error(req, NT_STATUS_INVALID_HANDLE);
 			return;
 		}
 	}



More information about the samba-cvs mailing list