From ee1f25dc2ae715fa76417419010131861f95d8bf Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 15 Jul 2011 11:18:00 +0200 Subject: lsa: lsa_CreateTrustedDomainEx takes lsa_TrustDomainInfoAuthInfo, not lsa_TrustDomainInfoAuthInfoInternal. Guenther --- source3/rpc_server/lsa/srv_lsa_nt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c index 8244b3ad6f..2342a0e8aa 100644 --- a/source3/rpc_server/lsa/srv_lsa_nt.c +++ b/source3/rpc_server/lsa/srv_lsa_nt.c @@ -1818,10 +1818,13 @@ NTSTATUS _lsa_CreateTrustedDomainEx(struct pipes_struct *p, struct lsa_CreateTrustedDomainEx *r) { struct lsa_CreateTrustedDomainEx2 q; + struct lsa_TrustDomainInfoAuthInfoInternal auth_info; + + ZERO_STRUCT(auth_info); q.in.policy_handle = r->in.policy_handle; q.in.info = r->in.info; - q.in.auth_info_internal = r->in.auth_info; + q.in.auth_info_internal = &auth_info; q.in.access_mask = r->in.access_mask; q.out.trustdom_handle = r->out.trustdom_handle; -- cgit