1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-28 12:23:49 +03:00

r5799: more DsGetNCChanges updates, I'm starting to understand it...

also add a really simple torture test for DsGetNCChanges

metze
This commit is contained in:
Stefan Metzmacher
2005-03-15 14:42:09 +00:00
committed by Gerald (Jerry) Carter
parent 2fc8a604b0
commit bcde67a7ef
3 changed files with 205 additions and 35 deletions

View File

@@ -79,6 +79,16 @@ size_t ndr_size_dom_sid(struct dom_sid *sid)
return 8 + 4*sid->num_auths;
}
/*
return the wire size of a dom_sid
*/
size_t ndr_length_dom_sid(struct dom_sid *sid)
{
if (!sid) return 0;
if (sid->sid_rev_num == 0) return 0;
return 8 + 4*sid->num_auths;
}
/*
return the wire size of a security_ace
*/