summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_schannel.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-01 19:05:30 -0700
committerAndrew Tridgell <tridge@samba.org>2010-10-01 22:31:57 -0700
commit9bae4cd3d967f43c32796d03b1c2ee8ae5119e00 (patch)
tree71684b7e66a1d8436a603cbb9933ec33d010bfd8 /source4/librpc/rpc/dcerpc_schannel.c
parentee15dc96926f505ba7f01ccfcfc2959b507f2b96 (diff)
downloadsamba-9bae4cd3d967f43c32796d03b1c2ee8ae5119e00.tar.gz
samba-9bae4cd3d967f43c32796d03b1c2ee8ae5119e00.tar.bz2
samba-9bae4cd3d967f43c32796d03b1c2ee8ae5119e00.zip
s4-rpc: added target_principal binding handle option
this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/librpc/rpc/dcerpc_schannel.c')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index 7716323541..fc56eccf7c 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -268,7 +268,7 @@ struct composite_context *dcerpc_schannel_key_send(TALLOC_CTX *mem_ctx,
}
/* allocate binding structure */
- s->binding = talloc(c, struct dcerpc_binding);
+ s->binding = talloc_zero(c, struct dcerpc_binding);
if (composite_nomem(s->binding, c)) return c;
*s->binding = *s->pipe->binding;