summaryrefslogtreecommitdiff
path: root/source3/rpc_server/lsa
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-07-15 11:18:00 +0200
committerGünther Deschner <gd@samba.org>2011-07-15 17:56:39 +0200
commitee1f25dc2ae715fa76417419010131861f95d8bf (patch)
tree1af69615f654032817daa68748c6fc37c52b2743 /source3/rpc_server/lsa
parent3af3e4843fbcfcc35594e0c681f4713ebb5b76e4 (diff)
downloadsamba-ee1f25dc2ae715fa76417419010131861f95d8bf.tar.gz
samba-ee1f25dc2ae715fa76417419010131861f95d8bf.tar.bz2
samba-ee1f25dc2ae715fa76417419010131861f95d8bf.zip
lsa: lsa_CreateTrustedDomainEx takes lsa_TrustDomainInfoAuthInfo, not
lsa_TrustDomainInfoAuthInfoInternal. Guenther
Diffstat (limited to 'source3/rpc_server/lsa')
-rw-r--r--source3/rpc_server/lsa/srv_lsa_nt.c5
1 files changed, 4 insertions, 1 deletions
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;