diff options
author | Jim McDonough <jmcd@samba.org> | 2003-10-30 17:50:56 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-10-30 17:50:56 +0000 |
commit | bff3e7feee2c9ef91a487df410327666c38602c1 (patch) | |
tree | 12fc69590c1caa40e7bcb435cdefb3ab50f2af70 /source3/nmbd | |
parent | 4f22327e21cc442f954a87835c377e11568d4cf4 (diff) | |
download | samba-bff3e7feee2c9ef91a487df410327666c38602c1.tar.gz samba-bff3e7feee2c9ef91a487df410327666c38602c1.tar.bz2 samba-bff3e7feee2c9ef91a487df410327666c38602c1.zip |
Nearing the end of the GUID -> struct uuid changes.
(This used to be commit 0e8fcfac702515f8870c979262bf881d1155efdc)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index 816b351464..fc66e0d6b4 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -313,7 +313,8 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n", } #ifdef HAVE_ADS else { - GUID domain_guid; + struct uuid domain_guid; + UUID_FLAT flat_guid; pstring domain; pstring hostname; char *component, *dc, *q1; @@ -340,8 +341,10 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n", DEBUG(2, ("Could not fetch DomainGUID for %s\n", domain)); return; } - memcpy(q, &domain_guid, sizeof(domain_guid)); - q += sizeof(domain_guid); + + smb_uuid_pack(domain_guid, &flat_guid); + memcpy(q, &flat_guid.info, UUID_FLAT_SIZE); + q += UUID_FLAT_SIZE; /* Forest */ str_offset = q - q_orig; |