librpc/idl: add uuid to security.idl to that ndrdump picks it up
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Nov 2012 08:34:43 +0000 (09:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Sun, 18 Nov 2012 18:06:51 +0000 (19:06 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
librpc/idl/security.idl

index 33085c4e149a35bf580e33d9fef34ec78c0b60ca..fc09ca1f84c47c876813b8466d8853c30fbaaccc 100644 (file)
@@ -26,6 +26,11 @@ cpp_quote("#define dom_sid28 dom_sid")
 cpp_quote("#define dom_sid0 dom_sid")
 
 [
+       /*
+        * cbf7d408-2d6c-11e2-ae5b-0b5692790e18 just makes ndrdump happy
+        */
+       uuid("cbf7d408-2d6c-11e2-ae5b-0b5692790e18"),
+       version(0.0),
        pyhelper("librpc/ndr/py_security.c"),
        pointer_default(unique)
 ]
@@ -571,11 +576,19 @@ interface security
                [relative] security_acl *dacl; /* user (discretionary) ACL */
        } security_descriptor;
 
+       [nopython] void decode_security_descriptor (
+               [in] security_descriptor sd
+               );
+
        typedef [public] struct {
                [range(0,0x40000),value(ndr_size_security_descriptor(sd,ndr->flags))] uint32 sd_size;
                [subcontext(4)] security_descriptor *sd;
        } sec_desc_buf;
 
+       [nopython] void decode_sec_desc_buf (
+               [in] sec_desc_buf sd_buf
+               );
+
        /* This is not yet sent over the network, but is simply defined in IDL */
        typedef [public] struct {
                uint32 num_sids;
@@ -584,6 +597,10 @@ interface security
                lsa_SystemAccessModeFlags rights_mask;
        } security_token;
 
+       [nopython] void decode_security_token (
+               [in] security_token token
+               );
+
        /* This is not yet sent over the network, but is simply defined in IDL */
        typedef [public] struct {
                uid_t uid;
@@ -592,6 +609,10 @@ interface security
                [size_is(ngroups)] gid_t groups[*];
        } security_unix_token;
 
+       [nopython] void decode_security_unix_token (
+               [in] security_unix_token unix_token
+               );
+
        /* bits that determine which parts of a security descriptor
           are being queried/set */
        typedef [public,bitmap32bit] bitmap {