From 3af3e4843fbcfcc35594e0c681f4713ebb5b76e4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 15 Jul 2011 17:26:16 +0200 Subject: lsa: rename auth info argument in lsa_CreateTrustedDomainEx2 Guenther --- source3/rpc_server/lsa/srv_lsa_nt.c | 10 +++++----- source3/utils/net_rpc_trust.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c index c6f45eaad0..8244b3ad6f 100644 --- a/source3/rpc_server/lsa/srv_lsa_nt.c +++ b/source3/rpc_server/lsa/srv_lsa_nt.c @@ -1746,9 +1746,9 @@ NTSTATUS _lsa_CreateTrustedDomainEx2(struct pipes_struct *p, td.trust_type = r->in.info->trust_type; td.trust_attributes = r->in.info->trust_attributes; - if (r->in.auth_info->auth_blob.size != 0) { - auth_blob.length = r->in.auth_info->auth_blob.size; - auth_blob.data = r->in.auth_info->auth_blob.data; + if (r->in.auth_info_internal->auth_blob.size != 0) { + auth_blob.length = r->in.auth_info_internal->auth_blob.size; + auth_blob.data = r->in.auth_info_internal->auth_blob.data; arcfour_crypt_blob(auth_blob.data, auth_blob.length, &p->session_info->session_key); @@ -1821,7 +1821,7 @@ NTSTATUS _lsa_CreateTrustedDomainEx(struct pipes_struct *p, q.in.policy_handle = r->in.policy_handle; q.in.info = r->in.info; - q.in.auth_info = r->in.auth_info; + q.in.auth_info_internal = r->in.auth_info; q.in.access_mask = r->in.access_mask; q.out.trustdom_handle = r->out.trustdom_handle; @@ -1850,7 +1850,7 @@ NTSTATUS _lsa_CreateTrustedDomain(struct pipes_struct *p, c.in.policy_handle = r->in.policy_handle; c.in.info = &info; - c.in.auth_info = &auth_info; + c.in.auth_info_internal = &auth_info; c.in.access_mask = r->in.access_mask; c.out.trustdom_handle = r->out.trustdom_handle; diff --git a/source3/utils/net_rpc_trust.c b/source3/utils/net_rpc_trust.c index 318c06ffe9..82cc8a5f90 100644 --- a/source3/utils/net_rpc_trust.c +++ b/source3/utils/net_rpc_trust.c @@ -128,7 +128,7 @@ static NTSTATUS create_trust(TALLOC_CTX *mem_ctx, r.in.policy_handle = pol_hnd; r.in.info = &trustinfo; - r.in.auth_info = authinfo; + r.in.auth_info_internal = authinfo; r.in.access_mask = LSA_TRUSTED_SET_POSIX | LSA_TRUSTED_SET_AUTH | LSA_TRUSTED_QUERY_DOMAIN_NAME; r.out.trustdom_handle = &trustdom_handle; -- cgit