summaryrefslogtreecommitdiff
path: root/source3/rpcclient
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/rpcclient
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/rpcclient')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index d4509eae44..217e6b1d68 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -69,7 +69,7 @@ static NTSTATUS cmd_lsa_query_info_policy(struct cli_state *cli,
POLICY_HND pol;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
DOM_SID dom_sid;
- UUID_FLAT dom_guid;
+ struct uuid dom_guid;
fstring sid_str, domain_name="", dns_name="", forest_name="";
uint32 info_class = 3;
@@ -124,8 +124,7 @@ static NTSTATUS cmd_lsa_query_info_policy(struct cli_state *cli,
if (info_class == 12) {
printf("domain GUID is %s\n",
- smb_uuid_string_static(
- smb_uuid_unpack_static(dom_guid)));
+ smb_uuid_string_static(dom_guid));
}
done:
return result;