diff options
author | Günther Deschner <gd@samba.org> | 2008-10-24 15:05:57 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-27 19:33:23 +0100 |
commit | 95231eae39d3373dbb2003d6c01f0c46c40cdc04 (patch) | |
tree | f894b50b5d9badf02c9c5a7a09f16f49b5607da2 /source4/torture/rpc/lsa_lookup.c | |
parent | 92f1c0d1565f0b3d60c7235d6760926739a55426 (diff) | |
download | samba-95231eae39d3373dbb2003d6c01f0c46c40cdc04.tar.gz samba-95231eae39d3373dbb2003d6c01f0c46c40cdc04.tar.bz2 samba-95231eae39d3373dbb2003d6c01f0c46c40cdc04.zip |
s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.
Guenther
Diffstat (limited to 'source4/torture/rpc/lsa_lookup.c')
-rw-r--r-- | source4/torture/rpc/lsa_lookup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/lsa_lookup.c b/source4/torture/rpc/lsa_lookup.c index beb299b597..0124ce1741 100644 --- a/source4/torture/rpc/lsa_lookup.c +++ b/source4/torture/rpc/lsa_lookup.c @@ -66,15 +66,17 @@ static bool get_domainsid(TALLOC_CTX *mem_ctx, struct dcerpc_pipe *p, struct dom_sid **sid) { struct lsa_QueryInfoPolicy r; + union lsa_PolicyInformation *info = NULL; NTSTATUS status; r.in.level = LSA_POLICY_INFO_DOMAIN; r.in.handle = handle; + r.out.info = &info; status = dcerpc_lsa_QueryInfoPolicy(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) return false; - *sid = r.out.info->domain.sid; + *sid = info->domain.sid; return true; } |