diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-08-22 04:43:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:24 -0500 |
commit | 7aa29fd85432d4212d963665ceb02e9614f7aec0 (patch) | |
tree | 52da4c820059adab0ad862bafe5832706867ff47 /source4 | |
parent | d7f84b51f96c2e1b48a38de823329f2e4ea86e55 (diff) | |
download | samba-7aa29fd85432d4212d963665ceb02e9614f7aec0.tar.gz samba-7aa29fd85432d4212d963665ceb02e9614f7aec0.tar.bz2 samba-7aa29fd85432d4212d963665ceb02e9614f7aec0.zip |
r24612: Revert this part of -r 24611. This isn't related to my SAMR password
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
(This used to be commit 3ab90ad312b85b5a887090418e9cb7594f519b2f)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/dcerpc_server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index 7d257fac06..35b37b3af6 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -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); |