svn commit: samba r17447 - in branches/SAMBA_4_0/source/libnet: .

mimir at samba.org mimir at samba.org
Mon Aug 7 20:28:09 GMT 2006


Author: mimir
Date: 2006-08-07 20:28:09 +0000 (Mon, 07 Aug 2006)
New Revision: 17447

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17447

Log:
Add more fields to user modify routines.


rafal


Modified:
   branches/SAMBA_4_0/source/libnet/userman.h


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/userman.h
===================================================================
--- branches/SAMBA_4_0/source/libnet/userman.h	2006-08-07 20:15:31 UTC (rev 17446)
+++ branches/SAMBA_4_0/source/libnet/userman.h	2006-08-07 20:28:09 UTC (rev 17447)
@@ -51,10 +51,21 @@
 #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 {
 	struct {
@@ -70,9 +81,15 @@
 			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;



More information about the samba-cvs mailing list