netapi: add some more USER_INFO structs to IDL.
authorGünther Deschner <gd@samba.org>
Fri, 18 Jul 2008 21:36:26 +0000 (23:36 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 30 Jul 2008 14:44:25 +0000 (16:44 +0200)
Guenther
(This used to be commit 49ea8984e95618ff8dc8f1d5d757aec997899fd7)

source3/librpc/idl/libnetapi.idl

index e093d273f9618e95bd1d46887d6ae065b6e06145..b92d8d2e8036a5f1fd47fd1c73a2c3b247548c5f 100644 (file)
@@ -289,6 +289,39 @@ interface libnetapi
                uint32 usri20_user_id;
        } USER_INFO_20;
 
+       const int ENCRYPTED_PWLEN = 256;
+
+       [public] typedef struct {
+               uint8 usri21_password[ENCRYPTED_PWLEN];
+       } USER_INFO_21;
+
+       [public] typedef struct {
+               string usri22_name;
+               uint8 usri22_password[ENCRYPTED_PWLEN];
+               uint32 usri22_password_age;
+               uint32 usri22_priv;
+               string usri22_home_dir;
+               string usri22_comment;
+               uint32 usri22_flags;
+               uint32 usri22_script_path;
+               uint32 usri22_auth_flags;
+               string usri22_full_name;
+               string usri22_usr_comment;
+               string usri22_parms;
+               string usri22_workstations;
+               uint32 usri22_last_logon;
+               uint32 usri22_last_logoff;
+               uint32 usri22_acct_expires;
+               uint32 usri22_max_storage;
+               uint32 usri22_units_per_week;
+               uint8 *usri22_logon_hours;
+               uint32 usri22_bad_pw_count;
+               uint32 usri22_num_logons;
+               string usri22_logon_server;
+               uint32 usri22_country_code;
+               uint32 usri22_code_page;
+       } USER_INFO_22;
+
        [public] typedef struct {
                string usri23_name;
                string usri23_full_name;
@@ -297,10 +330,87 @@ interface libnetapi
                domsid *usri23_user_sid;
        } USER_INFO_23;
 
+       [public] typedef struct {
+               string usri1003_password;
+       } USER_INFO_1003;
+
+       [public] typedef struct {
+               uint32 usri1005_priv;
+       } USER_INFO_1005;
+
+       [public] typedef struct {
+               string usri1006_home_dir;
+       } USER_INFO_1006;
+
        [public] typedef struct {
                string usri1007_comment;
        } USER_INFO_1007;
 
+       [public] typedef struct {
+               uint32 usri1008_flags;
+       } USER_INFO_1008;
+
+       [public] typedef struct {
+               string usri1009_script_path;
+       } USER_INFO_1009;
+
+       [public] typedef struct {
+               uint32 usri1010_auth_flags;
+       } USER_INFO_1010;
+
+       [public] typedef struct {
+               string usri1011_full_name;
+       } USER_INFO_1011;
+
+       [public] typedef struct {
+               string usri1012_usr_comment;
+       } USER_INFO_1012;
+
+       [public] typedef struct {
+               string usri1013_parms;
+       } USER_INFO_1013;
+
+       [public] typedef struct {
+               string usri1014_workstations;
+       } USER_INFO_1014;
+
+       [public] typedef struct {
+               uint32 usri1017_acct_expires;
+       } USER_INFO_1017;
+
+       [public] typedef struct {
+               uint32 usri1018_max_storage;
+       } USER_INFO_1018;
+
+       [public] typedef struct {
+               uint32 usri1020_units_per_week;
+               uint8 *usri1020_logon_hours;
+       } USER_INFO_1020;
+
+       [public] typedef struct {
+               string usri1023_logon_server;
+       } USER_INFO_1023;
+
+       [public] typedef struct {
+               uint32 usri1024_country_code;
+       } USER_INFO_1024;
+
+       [public] typedef struct {
+               uint32 usri1025_code_page;
+       } USER_INFO_1025;
+
+       [public] typedef struct {
+               uint32 usri1051_primary_group_id;
+       } USER_INFO_1051;
+
+       [public] typedef struct {
+               string usri1052_profile;
+       } USER_INFO_1052;
+
+       [public] typedef struct {
+               string usri1053_home_dir_drive;
+       } USER_INFO_1053;
+
        [public] typedef struct {
                string usriX_name;
                string usriX_password;