diff options
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/lsa.idl | 5 | ||||
-rw-r--r-- | source4/librpc/idl/samr.idl | 9 | ||||
-rw-r--r-- | source4/librpc/idl/security.idl | 5 |
3 files changed, 7 insertions, 12 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index d0bf2ad3e1..225979da18 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -56,11 +56,6 @@ /******************/ /* Function: 0x03 */ - typedef [public] struct { - uint32 size; - [subcontext(4)] security_descriptor *sd; - } sec_desc_buf; - NTSTATUS lsa_QuerySecObj ( [in,ref] policy_handle *handle, [in] uint32 sec_info, diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 358218c2a0..58e0601606 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -48,15 +48,10 @@ /******************/ /* Function: 0x02 */ - typedef struct { - [range(0,0x40000),value(ndr_size_security_descriptor(r->sd))] uint32 sd_size; - [subcontext(4)] security_descriptor *sd; - } samr_SdBuf; - NTSTATUS samr_SetSecurity ( [in,ref] policy_handle *handle, [in] uint32 sec_info, - [in,ref] samr_SdBuf *sdbuf + [in,ref] sec_desc_buf *sdbuf ); /******************/ @@ -65,7 +60,7 @@ NTSTATUS samr_QuerySecurity ( [in,ref] policy_handle *handle, [in] uint32 sec_info, - [out] samr_SdBuf *sdbuf + [out] sec_desc_buf *sdbuf ); /******************/ 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; |