svn commit: samba r21589 - in branches/SAMBA_4_0/source/rpc_server: .

metze at samba.org metze at samba.org
Wed Feb 28 17:02:28 GMT 2007


Author: metze
Date: 2007-02-28 17:02:28 +0000 (Wed, 28 Feb 2007)
New Revision: 21589

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

Log:
give an error when the assoc_group_id isn't 0

TODO: we need to correctly implement assoc groups!

metze
Modified:
   branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c	2007-02-28 15:57:52 UTC (rev 21588)
+++ branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c	2007-02-28 17:02:28 UTC (rev 21589)
@@ -492,6 +492,10 @@
 	uint32_t context_id;
 	const struct dcesrv_interface *iface;
 
+	if (call->pkt.u.bind.assoc_group_id != 0) {
+		return dcesrv_bind_nak(call, 0);	
+	}
+
 	if (call->pkt.u.bind.num_contexts < 1 ||
 	    call->pkt.u.bind.ctx_list[0].num_transfer_syntaxes < 1) {
 		return dcesrv_bind_nak(call, 0);



More information about the samba-cvs mailing list