summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-10-30 17:07:32 +0000
committerJim McDonough <jmcd@samba.org>2003-10-30 17:07:32 +0000
commit1587245a053fc82b74dea06689e9d5fe0ce91eea (patch)
tree90824b97b644d2e9ee21c6b3a562c64038c443b2 /source3/rpc_client
parent523444b7b69fd14798a70cbf98b4f5f0177bfd2a (diff)
downloadsamba-1587245a053fc82b74dea06689e9d5fe0ce91eea.tar.gz
samba-1587245a053fc82b74dea06689e9d5fe0ce91eea.tar.bz2
samba-1587245a053fc82b74dea06689e9d5fe0ce91eea.zip
Another round of GUID->struct uuid.
Takes care of the lsass pipe (This used to be commit 3dca3efa4b427fa3094a8cd392fe5744b5f6f6a8)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_lsarpc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index ab4fbad613..163e847922 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -537,7 +537,8 @@ NTSTATUS cli_lsa_query_info_policy(struct cli_state *cli, TALLOC_CTX *mem_ctx,
NTSTATUS cli_lsa_query_info_policy2(struct cli_state *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *pol, uint16 info_class,
fstring domain_name, fstring dns_name,
- fstring forest_name, GUID *domain_guid,
+ fstring forest_name,
+ struct uuid *domain_guid,
DOM_SID *domain_sid)
{
prs_struct qbuf, rbuf;
@@ -599,7 +600,7 @@ NTSTATUS cli_lsa_query_info_policy2(struct cli_state *cli, TALLOC_CTX *mem_ctx,
sizeof(fstring) - 1);
}
- memcpy(domain_guid, &r.info.dns_dom_info.dom_guid, sizeof(GUID));
+ memcpy(domain_guid, &r.info.dns_dom_info.dom_guid,sizeof(struct uuid));
if (r.info.dns_dom_info.ptr_dom_sid != 0) {
*domain_sid = r.info.dns_dom_info.dom_sid.sid;