diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-12-03 03:10:10 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-12-03 03:10:10 +0000 |
commit | ec92e2f9a2b9966c052621026b0763f42b6bd6a7 (patch) | |
tree | fb903155d9b51384d584f1a4f0aed5f1dc99d917 /source4/librpc/idl/samr.idl | |
parent | ea507ee6059215b9605443ba3e9405089207e9e8 (diff) | |
download | samba-ec92e2f9a2b9966c052621026b0763f42b6bd6a7.tar.gz samba-ec92e2f9a2b9966c052621026b0763f42b6bd6a7.tar.bz2 samba-ec92e2f9a2b9966c052621026b0763f42b6bd6a7.zip |
My first stab at Samba4 IDL!
This patch adds the samr_CreateUser2 function, which is create_user
in Samba 3.0.
This also adds a torture suite that checks for various valid and invalid
account flags, and that they are persistant.
Also, a patch by Anthony Liguori to fix the build
Andrew Bartlett
(This used to be commit 53e657b74572ab329d4598a85e6989547c324209)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r-- | source4/librpc/idl/samr.idl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index e690e7b616..ec6d2f8d67 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -767,7 +767,17 @@ /************************/ /* Function 0x32 */ - NTSTATUS samr_CREATE_USER2_IN_DOMAIN(); + NTSTATUS samr_CreateUser2( + /************************/ + [in,ref] policy_handle *handle, + [in,ref] samr_Name *username, + [in] uint32 acct_flags, + [in] uint32 access_mask, + [out,ref] policy_handle *acct_handle, + [out,ref] uint32 *access_granted, + [out,ref] uint32 *rid + ); + /************************/ /* Function 0x33 */ |