summaryrefslogtreecommitdiffstats
path: root/source4/libnet/libnet_join.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/libnet/libnet_join.c
parentee15dc96926f505ba7f01ccfcfc2959b507f2b96 (diff)
downloadsamba-9bae4cd3d967f43c32796d03b1c2ee8ae5119e00.tar.gz
samba-9bae4cd3d967f43c32796d03b1c2ee8ae5119e00.tar.xz
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/libnet/libnet_join.c')
-rw-r--r--source4/libnet/libnet_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index 7992670eec5..da2110842bf 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -96,7 +96,7 @@ static NTSTATUS libnet_JoinADSDomain(struct libnet_context *ctx, struct libnet_J
return NT_STATUS_NO_MEMORY;
}
- drsuapi_binding = talloc(tmp_ctx, struct dcerpc_binding);
+ drsuapi_binding = talloc_zero(tmp_ctx, struct dcerpc_binding);
if (!drsuapi_binding) {
r->out.error_string = NULL;
talloc_free(tmp_ctx);