summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-10-30 17:37:21 +0000
committerJim McDonough <jmcd@samba.org>2003-10-30 17:37:21 +0000
commit4f22327e21cc442f954a87835c377e11568d4cf4 (patch)
tree3b6b2ddd2e5730e6d02665970e7c60d1fad7eb17 /source3/lib
parentbb971b44b84a72d628205fba0c27207f5fd00bf2 (diff)
downloadsamba-4f22327e21cc442f954a87835c377e11568d4cf4.tar.gz
samba-4f22327e21cc442f954a87835c377e11568d4cf4.tar.bz2
samba-4f22327e21cc442f954a87835c377e11568d4cf4.zip
Ok, nearing the end of the GUID->struct uuid changes.
Takes care of secdescs. Had to move the uuid marshall/unmarshalling code to parse_misc, because it's needed outside of parse_rpc.c (for no-auth calls) (This used to be commit 5d2bb079b65ccfec14604d8dcf0ce789d1795b46)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/secace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/secace.c b/source3/lib/secace.c
index 6769f1288a..8c54c97043 100644
--- a/source3/lib/secace.c
+++ b/source3/lib/secace.c
@@ -48,8 +48,8 @@ void sec_ace_copy(SEC_ACE *ace_dest, SEC_ACE *ace_src)
ace_dest->size = ace_src->size;
ace_dest->info.mask = ace_src->info.mask;
ace_dest->obj_flags = ace_src->obj_flags;
- memcpy(&ace_dest->obj_guid, &ace_src->obj_guid, GUID_SIZE);
- memcpy(&ace_dest->inh_guid, &ace_src->inh_guid, GUID_SIZE);
+ memcpy(&ace_dest->obj_guid, &ace_src->obj_guid, sizeof(struct uuid));
+ memcpy(&ace_dest->inh_guid, &ace_src->inh_guid, sizeof(struct uuid));
sid_copy(&ace_dest->trustee, &ace_src->trustee);
}