summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-12 10:31:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-12 10:31:02 +0100
commit306e9f14255cf04cf8f91e6a52ddc7faa160e55a (patch)
tree2faf455a2b50d0a45a7dca4252c54288598adaa1
parent076479aac3485180812eccf4c7ef8cc50eca9575 (diff)
parent370cc9c776bcde683b9cc9704a781b093cf3bdaa (diff)
downloadsamba-306e9f14255cf04cf8f91e6a52ddc7faa160e55a.tar.gz
samba-306e9f14255cf04cf8f91e6a52ddc7faa160e55a.tar.bz2
samba-306e9f14255cf04cf8f91e6a52ddc7faa160e55a.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
-rw-r--r--source4/rpc_server/dcerpc_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 2c218bdc8d..5f055ae342 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -648,7 +648,7 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call)
pkt.pfc_flags = DCERPC_PFC_FLAG_FIRST | DCERPC_PFC_FLAG_LAST | extra_flags;
pkt.u.bind_ack.max_xmit_frag = 0x2000;
pkt.u.bind_ack.max_recv_frag = 0x2000;
- pkt.u.bind_ack.assoc_group_id = call->context->assoc_group_id;
+ pkt.u.bind_ack.assoc_group_id = iface?call->context->assoc_group_id:0;
if (iface) {
/* FIXME: Use pipe name as specified by endpoint instead of interface name */
pkt.u.bind_ack.secondary_address = talloc_asprintf(call, "\\PIPE\\%s", iface->name);