summaryrefslogtreecommitdiff
path: root/source3/libads/ldap.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 02:26:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 02:26:18 +0200
commit1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e (patch)
treedc2074d60a5f0cf1eca3236e02a95782613b1533 /source3/libads/ldap.c
parent7e5bbe806958ea8176e4c8494e3b3f79570635da (diff)
downloadsamba-1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e.tar.gz
samba-1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e.tar.bz2
samba-1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e.zip
Use GUID_string rather than smb_uuid_string().
Diffstat (limited to 'source3/libads/ldap.c')
-rw-r--r--source3/libads/ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index fbbe1a546b..2dcd1fd6ae 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -2062,7 +2062,7 @@ static void dump_guid(ADS_STRUCT *ads, const char *field, struct berval **values
memcpy(guid.info, values[i]->bv_val, sizeof(guid.info));
smb_uuid_unpack(guid, &tmp);
- printf("%s: %s\n", field, smb_uuid_string(talloc_tos(), tmp));
+ printf("%s: %s\n", field, GUID_string(talloc_tos(), &tmp));
}
}
@@ -3748,7 +3748,7 @@ const char *ads_get_extended_right_name_by_guid(ADS_STRUCT *ads,
}
expr = talloc_asprintf(mem_ctx, "(rightsGuid=%s)",
- smb_uuid_string(mem_ctx, *rights_guid));
+ GUID_string(mem_ctx, rights_guid));
if (!expr) {
goto done;
}