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:
committed by
Gerald (Jerry) Carter
parent
2fc8a604b0
commit
bcde67a7ef
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user