mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r21589: give an error when the assoc_group_id isn't 0
TODO: we need to correctly implement assoc groups! metze
This commit is contained in:
parent
874cb39366
commit
df7c6c6e0b
@ -492,6 +492,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);
|
||||
|
Loading…
Reference in New Issue
Block a user