From 9ea3b567e461a7f99ac6bff2dd61380482451ebf Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Mon, 7 Aug 2006 20:28:09 +0000 Subject: r17447: Add more fields to user modify routines. rafal (This used to be commit 8fa1cd62ec6ce3b37700cf5ffa5c47b8c8cff977) --- source4/libnet/userman.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source4/libnet') 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; -- cgit