added samr_CreateUser() samr_DeleteUser(). The test suite creates a
[kai/samba.git] / source / librpc / idl / samr.idl
index 2ff79c2fd3a888a0b779aefc454c6990156b8a3e..60e6a98e0b3bac6d4e07e8f79fede53c35e7e29f 100644 (file)
@@ -44,7 +44,7 @@
        /* Function: 0x05 */
        typedef struct {
                [value(2*strlen_m(r->name))] uint16 name_len;
-               [value(r->name_len)] uint16 name_size;
+               [value(2*strlen_m(r->name))] uint16 name_size;
                unistr_noterm *name;
        } samr_Name;    
 
        /* Function    0x0c     */
        NTSTATUS samr_CreateUser(
                [in,ref]      policy_handle *handle,
-               [in]          samr_Name *username,
+               [in,ref]      samr_Name *username,
                [in]          uint32 access_mask,
-               [out]         policy_handle *acct_handle,
-               [out]         uint32 *rid
+               [out,ref]     policy_handle *acct_handle,
+               [out,ref]     uint32 *rid
                );
 
        /************************/
        /************************/
        /* Function    0x23     */
        NTSTATUS samr_DeleteUser(
-               [in,out]      policy_handle *handle
+               [in,out,ref]   policy_handle *handle
                );
 
        /************************/