r24612: Revert this part of -r 24611. This isn't related to my SAMR password
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 Aug 2007 04:43:17 +0000 (04:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:02:24 +0000 (15:02 -0500)
work, but to an odd bind failure I noticed in a trace.  I need to
commit this with changes to the torture suite.

Andrew Bartlett

source/rpc_server/dcerpc_server.c

index 7d257fac063e6ff47fe825fb2470a3cc055a54b7..35b37b3af6c070372b19e513d091c0cbe34162be 100644 (file)
@@ -528,6 +528,10 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call)
        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);