summaryrefslogtreecommitdiffstats
path: root/source4/librpc/idl/samr.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-09 09:39:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:50 -0500
commit54a695f7edf7c40a92391aa94ddbbd2db8b11ec3 (patch)
tree066b3c3b2002916159b69dd5a633ef6f5dc2b920 /source4/librpc/idl/samr.idl
parentb91eb9e73a1329576698a1ce4f1e5bef3b63adb0 (diff)
downloadsamba-54a695f7edf7c40a92391aa94ddbbd2db8b11ec3.tar.gz
samba-54a695f7edf7c40a92391aa94ddbbd2db8b11ec3.tar.xz
samba-54a695f7edf7c40a92391aa94ddbbd2db8b11ec3.zip
r601: added the server code for all the samr_SetUserInfo and samr_QueryUserInfo levels except for the password
set levels. This means that a large part of the RPC-SAMR torture test now runs correctly against Samba4 (This used to be commit ec0a51898f543578e755207d81ed5c1524861c64)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r--source4/librpc/idl/samr.idl21
1 files changed, 18 insertions, 3 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 070331933b..2ff4e86cd1 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -13,6 +13,20 @@
pointer_default(unique)
] interface samr
{
+ /* account control (acct_flags) bits */
+ const int ACB_DISABLED = 0x0001; /* 1 = User account disabled */
+ const int ACB_HOMDIRREQ = 0x0002; /* 1 = Home directory required */
+ const int ACB_PWNOTREQ = 0x0004; /* 1 = User password not required */
+ const int ACB_TEMPDUP = 0x0008; /* 1 = Temporary duplicate account */
+ const int ACB_NORMAL = 0x0010; /* 1 = Normal user account */
+ const int ACB_MNS = 0x0020; /* 1 = MNS logon user account */
+ const int ACB_DOMTRUST = 0x0040; /* 1 = Interdomain trust account */
+ const int ACB_WSTRUST = 0x0080; /* 1 = Workstation trust account */
+ const int ACB_SVRTRUST = 0x0100; /* 1 = Server trust account */
+ const int ACB_PWNOEXP = 0x0200; /* 1 = User password does not expire */
+ const int ACB_AUTOLOCK = 0x0400; /* 1 = Account auto locked */
+
+
/******************/
/* Function: 0x00 */
NTSTATUS samr_Connect (
@@ -263,6 +277,7 @@
/************************/
/* Function 0x0d */
+
/* w2k3 treats max_size as max_users*54 and sets the
resume_handle as the rid of the last user sent
*/
@@ -569,7 +584,7 @@
typedef struct {
samr_Name username;
samr_Name full_name;
- uint32 Rid;
+ uint32 rid;
uint32 primary_gid;
samr_Name home_directory;
samr_Name home_drive;
@@ -630,7 +645,7 @@
} samr_UserInfo9;
typedef struct {
- samr_Name home_dir;
+ samr_Name home_directory;
samr_Name home_drive;
} samr_UserInfo10;
@@ -684,7 +699,7 @@
NTTIME force_pwd_change;
samr_Name username;
samr_Name full_name;
- samr_Name home_dir;
+ samr_Name home_directory;
samr_Name home_drive;
samr_Name logon_script;
samr_Name profile;