summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/samr.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-19 23:44:26 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-19 23:44:26 +0000
commit77fb98ac7c38a19c1e810495119f6f5541838d32 (patch)
treeb1c4da73fa40e299d70d604d3df597fef53a5f68 /source4/librpc/idl/samr.idl
parenta8400ce61093a4a2e44cfc57766ff0f727c1fc6c (diff)
downloadsamba-77fb98ac7c38a19c1e810495119f6f5541838d32.tar.gz
samba-77fb98ac7c38a19c1e810495119f6f5541838d32.tar.bz2
samba-77fb98ac7c38a19c1e810495119f6f5541838d32.zip
addition of samr_SetSecurity() from kai
we needed to adjust the alignment of [relative] buffers for this to work. I wonder if they are always 4 byte aligned? (This used to be commit 9cd0a0b8b976e62c6da71b7e55cba5b38483620d)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r--source4/librpc/idl/samr.idl13
1 files changed, 9 insertions, 4 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index bbf1e40086..1226d1f770 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -31,16 +31,21 @@
/******************/
/* Function: 0x02 */
- NTSTATUS samr_SetSecurity ();
-
- /******************/
- /* Function: 0x03 */
typedef struct {
[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
+ );
+
+ /******************/
+ /* Function: 0x03 */
+
NTSTATUS samr_QuerySecurity (
[in,ref] policy_handle *handle,
[in] uint32 sec_info,