summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-15 10:58:29 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-15 10:58:29 +0000
commite92419e2d35126f98af6c22fe5e0224421998aad (patch)
tree25b71827fbc7bdb25f76d6253d93c2ed378a9d13 /source4/librpc/idl
parent54ccb9c6a2510c3e76603459f09d911c1dc3354e (diff)
downloadsamba-e92419e2d35126f98af6c22fe5e0224421998aad.tar.gz
samba-e92419e2d35126f98af6c22fe5e0224421998aad.tar.bz2
samba-e92419e2d35126f98af6c22fe5e0224421998aad.zip
added samr_UserInfo2 and samr_UserInfo3
(This used to be commit 5e852f694c039ae8bde3490be9e0c4959c1e93f0)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/samr.idl32
1 files changed, 32 insertions, 0 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index c703f99817..eed1f342a6 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -326,8 +326,40 @@
samr_Name comment;
} samr_UserInfo1;
+ typedef struct {
+ samr_Name comment;
+ uint32 foo1;
+ uint32 foo2;
+ uint16 country_code;
+ uint16 code_page;
+ } samr_UserInfo2;
+
+ typedef struct {
+ samr_Name username;
+ samr_Name full_name;
+ uint32 Rid;
+ uint32 primary_group_rid;
+ samr_Name home_directory;
+ samr_Name home_drive;
+ samr_Name logon_script;
+ samr_Name profile;
+ samr_Name workstations;
+ NTTIME last_logon;
+ NTTIME last_logoff;
+ NTTIME last_pwd_change;
+ NTTIME allow_pwd_change;
+ NTTIME force_pwd_change; /* uncertain about this one */
+ uint32 units_per_week;
+ [size_is(1260), length_is(units_per_week/8)] uint8 *logon_hours;
+ uint16 bad_pwd_count;
+ uint16 num_logons;
+ uint32 acct_flags;
+ } samr_UserInfo3;
+
typedef union {
case(1) samr_UserInfo1 info1;
+ case(2) samr_UserInfo2 info2;
+ case(3) samr_UserInfo3 info3;
} samr_UserInfo;
NTSTATUS samr_QueryUserInfo(