summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-12-19 13:53:23 +0100
committerAndreas Schneider <asn@samba.org>2013-08-05 10:30:00 +0200
commita9d5b2fdf03a25e7669258de6c83288be3335cef (patch)
treef9ae1fdea8bf980f26e4b8caa096568a1e36400e /source4/librpc
parentb19e7e6638a5dd53e3c6e6701f78bf31184ed493 (diff)
downloadsamba-a9d5b2fdf03a25e7669258de6c83288be3335cef.tar.gz
samba-a9d5b2fdf03a25e7669258de6c83288be3335cef.tar.bz2
samba-a9d5b2fdf03a25e7669258de6c83288be3335cef.zip
libcli/auth: also set secure channel type in netlogon_creds_client_init().
Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index be1ab240bd..1480486c32 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -187,6 +187,7 @@ static void continue_srv_challenge(struct tevent_req *subreq)
s->creds = netlogon_creds_client_init(s,
s->a.in.account_name,
s->a.in.computer_name,
+ s->a.in.secure_channel_type,
&s->credentials1, &s->credentials2,
s->mach_pwd, &s->credentials3,
s->local_negotiate_flags);