summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-08-07 20:28:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:26 -0500
commit9ea3b567e461a7f99ac6bff2dd61380482451ebf (patch)
tree52e3aaf8928c5a82d9d8efaa3c7ca1aaad892813 /source4/libnet
parenta0ff937c5f752ebd8f338467314648963beccff0 (diff)
downloadsamba-9ea3b567e461a7f99ac6bff2dd61380482451ebf.tar.gz
samba-9ea3b567e461a7f99ac6bff2dd61380482451ebf.tar.bz2
samba-9ea3b567e461a7f99ac6bff2dd61380482451ebf.zip
r17447: Add more fields to user modify routines.
rafal (This used to be commit 8fa1cd62ec6ce3b37700cf5ffa5c47b8c8cff977)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/userman.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source4/libnet/userman.h b/source4/libnet/userman.h
index 0eb7216eab..bb4b3142bc 100644
--- a/source4/libnet/userman.h
+++ b/source4/libnet/userman.h
@@ -51,9 +51,20 @@ struct libnet_rpc_userdel {
#define USERMOD_FIELD_COMMENT ( 0x00000020 )
#define USERMOD_FIELD_LOGON_SCRIPT ( 0x00000100 )
#define USERMOD_FIELD_PROFILE_PATH ( 0x00000200 )
+#define USERMOD_FIELD_WORKSTATIONS ( 0x00000400 )
+#define USERMOD_FIELD_HOME_DIRECTORY ( 0x00000800 )
+#define USERMOD_FIELD_HOME_DRIVE ( 0x00001000 )
+#define USERMOD_FIELD_LOGON_HOURS ( 0x00002000 )
#define USERMOD_FIELD_ACCT_EXPIRY ( 0x00004000 )
#define USERMOD_FIELD_ALLOW_PASS_CHG ( 0x00008000 )
#define USERMOD_FIELD_FORCE_PASS_CHG ( 0x00010000 )
+#define USERMOD_FIELD_LAST_LOGON ( 0x00020000 )
+#define USERMOD_FIELD_LAST_LOGOFF ( 0x00040000 )
+#define USERMOD_FIELD_LAST_PASS_CHG ( 0x00080000 )
+#define USERMOD_FIELD_ACCT_FLAGS ( 0x00100000 )
+#define USERMOD_FIELD_PARAMETERS ( 0x00200000 )
+#define USERMOD_FIELD_COUNTRY_CODE ( 0x00400000 )
+#define USERMOD_FIELD_CODE_PAGE ( 0x00800000 )
#define USERMOD_FIELD_ACCT_FLAGS ( 0x00100000 )
struct libnet_rpc_usermod {
@@ -70,9 +81,15 @@ struct libnet_rpc_usermod {
const char *comment;
const char *logon_script;
const char *profile_path;
+ const char *home_directory;
+ const char *home_drive;
+ const char *workstations;
struct timeval *acct_expiry;
struct timeval *allow_password_change;
struct timeval *force_password_change;
+ struct timeval *last_logon;
+ struct timeval *last_logoff;
+ struct timeval *last_password_change;
uint32_t acct_flags;
} change;
} in;