svn commit: samba r24309 - in branches/SAMBA_3_2/source/smbd: .

metze at samba.org metze at samba.org
Fri Aug 10 10:11:41 GMT 2007


Author: metze
Date: 2007-08-10 10:11:40 +0000 (Fri, 10 Aug 2007)
New Revision: 24309

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

Log:
if no protocol matches, just return choise 0xffff
as we've done before revision 24002

metze
Modified:
   branches/SAMBA_3_2/source/smbd/negprot.c


Changeset:
Modified: branches/SAMBA_3_2/source/smbd/negprot.c
===================================================================
--- branches/SAMBA_3_2/source/smbd/negprot.c	2007-08-10 09:57:30 UTC (rev 24308)
+++ branches/SAMBA_3_2/source/smbd/negprot.c	2007-08-10 10:11:40 UTC (rev 24309)
@@ -674,6 +674,8 @@
 		DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name));
 	} else {
 		DEBUG(0,("No protocol supported !\n"));
+		reply_outbuf(req, 1, 0);
+		SSVAL(req->outbuf, smb_vwv0, choice);
 	}
   
 	DEBUG( 5, ( "negprot index=%d\n", choice ) );



More information about the samba-cvs mailing list