diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-03-18 07:07:13 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-03-25 00:45:28 +0100 |
commit | 7782fbe12b2228304bcddf9ff9949ef38597f8d8 (patch) | |
tree | 8fb263eb2346a2cbf43198d4b46e4c1247e10b19 /librpc/rpc | |
parent | d6794ec2aaad20b640f593b2c937966bc646a10e (diff) | |
download | samba-7782fbe12b2228304bcddf9ff9949ef38597f8d8.tar.gz |
librpc/rpc: let dcerpc_binding_set_transport() also reset the assoc_group_id
This is transport/endpoint specific.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'librpc/rpc')
-rw-r--r-- | librpc/rpc/binding.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c index 4ee1c6260de..90787655bbc 100644 --- a/librpc/rpc/binding.c +++ b/librpc/rpc/binding.c @@ -548,12 +548,17 @@ _PUBLIC_ NTSTATUS dcerpc_binding_set_transport(struct dcerpc_binding *b, * This implicitly resets the endpoint * as the endpoint is transport specific. * + * It also resets the assoc group as it's + * also endpoint specific. + * * TODO: in future we may reset more options * here. */ talloc_free(tmp); b->endpoint = NULL; + b->assoc_group_id = 0; + return NT_STATUS_OK; } |