diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-14 02:41:20 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-14 02:41:20 +0200 |
commit | 389cfee579a3222e6f536971af2fc0cb30596475 (patch) | |
tree | 3bcd6271861fa3166791aee6aa8ff5d7156e6301 /source3/passdb | |
parent | 4c81727a003e4c49c314e0c5a1b4584b8825e7fe (diff) | |
download | samba-389cfee579a3222e6f536971af2fc0cb30596475.tar.gz samba-389cfee579a3222e6f536971af2fc0cb30596475.tar.bz2 samba-389cfee579a3222e6f536971af2fc0cb30596475.zip |
Use GUID_random.
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index 306d4d0a35..a6adb904e2 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -238,7 +238,7 @@ bool secrets_fetch_domain_guid(const char *domain, struct GUID *guid) if (!dyn_guid) { if (lp_server_role() == ROLE_DOMAIN_PDC) { - smb_uuid_generate_random(&new_guid); + new_guid = GUID_random(); if (!secrets_store_domain_guid(domain, &new_guid)) return False; dyn_guid = (struct GUID *)secrets_fetch(key, &size); |