r9145: Some work on eventlog since jerry is doing some in Samba3. (-:
[samba.git] / source4 / libnet / composite.h
index 70e70d04eeb22ce15f6b8517836e3cf536cad95e..6d805812c001a59f4989a4ff02648e8841410db7 100644 (file)
@@ -61,6 +61,14 @@ struct libnet_rpc_userdel {
 
 #define USERMOD_FIELD_ACCOUNT_NAME    ( 0x00000001 )
 #define USERMOD_FIELD_FULL_NAME       ( 0x00000002 )
+#define USERMOD_FIELD_DESCRIPTION     ( 0x00000010 )
+#define USERMOD_FIELD_COMMENT         ( 0x00000020 )
+#define USERMOD_FIELD_LOGON_SCRIPT    ( 0x00000100 )
+#define USERMOD_FIELD_PROFILE_PATH    ( 0x00000200 )
+#define USERMOD_FIELD_ACCT_EXPIRY     ( 0x00004000 )
+#define USERMOD_FIELD_ALLOW_PASS_CHG  ( 0x00008000 )
+#define USERMOD_FIELD_FORCE_PASS_CHG  ( 0x00010000 )
+#define USERMOD_FIELD_ACCT_FLAGS      ( 0x00100000 )
 
 struct libnet_rpc_usermod {
        struct {
@@ -72,6 +80,14 @@ struct libnet_rpc_usermod {
 
                        const char *account_name;
                        const char *full_name;
+                       const char *description;
+                       const char *comment;
+                       const char *logon_script;
+                       const char *profile_path;
+                       struct timeval *acct_expiry;
+                       struct timeval *allow_password_change;
+                       struct timeval *force_password_change;
+                       uint32_t acct_flags;
                } change;
        } in;
 };