diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-11-20 00:29:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:01 -0500 |
commit | 5d35fe6f711985ac337da812bdbde006172bf256 (patch) | |
tree | 9f9ae277aa9823e00b898c68b78c7e232b9e3906 /source4/librpc/idl/security.idl | |
parent | d95a256d1b7f579666c852740d32ba0f446a4c66 (diff) | |
download | samba-5d35fe6f711985ac337da812bdbde006172bf256.tar.gz samba-5d35fe6f711985ac337da812bdbde006172bf256.tar.bz2 samba-5d35fe6f711985ac337da812bdbde006172bf256.zip |
r3885: Add security descriptor comparison to our RPC-SAMSYNC test. We now
verify that the security descriptor found in the SamSync is the same
as what is available over SAMR.
Unfortunately, the administrator seems unable to retrieve the SACL on
the security descriptor, so I've added a new function to compare with
a mask.
Andrew Bartlett
(This used to be commit 39ae5e1dac31a22086be50fb23261e02be877f3f)
Diffstat (limited to 'source4/librpc/idl/security.idl')
-rw-r--r-- | source4/librpc/idl/security.idl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/librpc/idl/security.idl b/source4/librpc/idl/security.idl index 201868e531..9625153ec1 100644 --- a/source4/librpc/idl/security.idl +++ b/source4/librpc/idl/security.idl @@ -120,6 +120,11 @@ interface security [relative] security_acl *dacl; /* user (discretionary) ACL */ } security_descriptor; + typedef [public] struct { + [range(0,0x40000),value(ndr_size_security_descriptor(r->sd))] uint32 sd_size; + [subcontext(4)] security_descriptor *sd; + } sec_desc_buf; + typedef [public,printonly] struct { /* TODO */ uint32 flags; |