summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-18 10:21:05 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-18 10:21:05 +0000
commitbdf0578621520ca52c7f6834fb337a761ada1dad (patch)
tree6057204bfa742e631887576e3c887901a0d623e9 /source4/librpc/idl
parentd1667d5799a873d2fe55d9ba58dc776ddd0b90f5 (diff)
downloadsamba-bdf0578621520ca52c7f6834fb337a761ada1dad.tar.gz
samba-bdf0578621520ca52c7f6834fb337a761ada1dad.tar.bz2
samba-bdf0578621520ca52c7f6834fb337a761ada1dad.zip
added samr_CreateUser() samr_DeleteUser(). The test suite creates a
test user called "samrtorturetest" and then deletes it. The next step is to do all possible user operations on that temporary user. (This used to be commit 41fc922954bd8ec461a79a22cc903e63902c7401)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/samr.idl10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 2ff79c2fd3..60e6a98e0b 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -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;
@@ -213,10 +213,10 @@
/* 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
);
/************************/
@@ -412,7 +412,7 @@
/************************/
/* Function 0x23 */
NTSTATUS samr_DeleteUser(
- [in,out] policy_handle *handle
+ [in,out,ref] policy_handle *handle
);
/************************/