00001 #ifndef uaidef_h 00002 #define uaidef_h 00003 00004 #define UAI__RTYPE 1 00005 #define UAI__VERSION 2 00006 #define UAI__USRDATOFF 3 00007 #define UAI__USERNAME 4 00008 #define UAI__USERNAME_TAG 5 00009 #define UAI__UIC 6 00010 #define UAI__MEM 7 00011 #define UAI__GRP 8 00012 #define UAI__SUB_ID 9 00013 #define UAI__PARENT_ID 10 00014 #define UAI__ACCOUNT 11 00015 #define UAI__OWNER 12 00016 #define UAI__DEFDEV 13 00017 #define UAI__DEFDIR 14 00018 #define UAI__LGICMD 15 00019 #define UAI__DEFCLI 16 00020 #define UAI__CLITABLES 17 00021 #define UAI__PWD 18 00022 #define UAI__PWD2 19 00023 #define UAI__LOGFAILS 20 00024 #define UAI__SALT 21 00025 #define UAI__ENCRYPT 22 00026 #define UAI__ENCRYPT2 23 00027 #define UAI__PWD_LENGTH 24 00028 #define UAI__EXPIRATION 25 00029 #define UAI__PWD_LIFETIME 26 00030 #define UAI__PWD_DATE 27 00031 #define UAI__PWD2_DATE 28 00032 #define UAI__LASTLOGIN_I 29 00033 #define UAI__LASTLOGIN_N 30 00034 #define UAI__PRIV 31 00035 #define UAI__DEF_PRIV 32 00036 #define UAI__MIN_CLASS 33 00037 #define UAI__MAX_CLASS 34 00038 #define UAI__FLAGS 35 00039 #define UAI__NETWORK_ACCESS_P 36 00040 #define UAI__NETWORK_ACCESS_S 37 00041 #define UAI__BATCH_ACCESS_P 38 00042 #define UAI__BATCH_ACCESS_S 39 00043 #define UAI__LOCAL_ACCESS_P 40 00044 #define UAI__LOCAL_ACCESS_S 41 00045 #define UAI__DIALUP_ACCESS_P 42 00046 #define UAI__DIALUP_ACCESS_S 43 00047 #define UAI__REMOTE_ACCESS_P 44 00048 #define UAI__REMOTE_ACCESS_S 45 00049 #define UAI__PRIMEDAYS 46 00050 #define UAI__PRI 47 00051 #define UAI__QUEPRI 48 00052 #define UAI__MAXJOBS 49 00053 #define UAI__MAXACCTJOBS 50 00054 #define UAI__MAXDETACH 51 00055 #define UAI__PRCCNT 52 00056 #define UAI__BIOLM 53 00057 #define UAI__DIOLM 54 00058 #define UAI__TQCNT 55 00059 #define UAI__ASTLM 56 00060 #define UAI__ENQLM 57 00061 #define UAI__FILLM 58 00062 #define UAI__SHRFILLM 59 00063 #define UAI__WSQUOTA 60 00064 #define UAI__DFWSCNT 61 00065 #define UAI__WSEXTENT 62 00066 #define UAI__PGFLQUOTA 63 00067 #define UAI__CPUTIM 64 00068 #define UAI__BYTLM 65 00069 #define UAI__PBYTLM 66 00070 #define UAI__JTQUOTA 67 00071 #define UAI__PROXY_LIM 68 00072 #define UAI__PROXIES 69 00073 #define UAI__ACCOUNT_LIM 70 00074 #define UAI__ACCOUNTS 71 00075 #define UAI__USER_DATA 72 00076 #define UAI__PASSWORD 73 00077 #define UAI__PASSWORD2 74 00078 #define UAI__DEF_CLASS 75 00079 #define UAI__AUDIT_FLAGS 76 00080 00081 #define UAI__MAX_ITEM_CODE 77 00082 00083 #define UAI__DEFCHARGE_CODE 11 00084 00085 #define UAI_C_AD_II 0 00086 #define UAI_C_PURDY 1 00087 #define UAI_C_PURDY_V 2 00088 #define UAI_C_PURDY_S 3 00089 #define UAI_C_PREFERED_ALGORITHM 127 00090 #define UAI_C_PREFERRED_ALGORITHM 127 00091 #define UAI_C_CUST_ALGORITHM 128 00092 #define UAI_C_MAX_PWD_LENGTH 32 00093 00094 #define UAI_M_DISCTLY 0x1 00095 #define UAI_M_DEFCLI 0x2 00096 #define UAI_M_LOCKPWD 0x4 00097 #define UAI_M_RESTRICTED 0x8 00098 #define UAI_M_DISACNT 0x10 00099 #define UAI_M_DISWELCOM 0x20 00100 #define UAI_M_DISMAIL 0x40 00101 #define UAI_M_NOMAIL 0x80 00102 #define UAI_M_GENPWD 0x100 00103 #define UAI_M_PWD_EXPIRED 0x200 00104 #define UAI_M_PWD2_EXPIRED 0x400 00105 #define UAI_M_AUDIT 0x800 00106 #define UAI_M_DISREPORT 0x1000 00107 #define UAI_M_DISRECONNECT 0x2000 00108 #define UAI_M_AUTOLOGIN 0x4000 00109 #define UAI_M_DISFORCE_PWD_CHANGE 0x8000 00110 #define UAI_M_CAPTIVE 0x10000 00111 #define UAI_M_DISIMAGE 0x20000 00112 #define UAI_M_DISPWDDIC 0x40000 00113 #define UAI_M_DISPWDHIS 0x80000 00114 #define UAI_M_DEFCLSVAL 0x100000 00115 #define UAI_M_EXTAUTH 0x200000 00116 #define UAI_M_MIGRATEPWD 0x400000 00117 #define UAI_M_VMSAUTH 0x800000 00118 #define UAI_M_DISPWDSYNCH 0x1000000 00119 00120 struct _flags { 00121 unsigned uai_v_disctly : 1; 00122 unsigned uai_v_defcli : 1; 00123 unsigned uai_v_lockpwd : 1; 00124 unsigned uai_v_restricted : 1; 00125 unsigned uai_v_disacnt : 1; 00126 unsigned uai_v_diswelcom : 1; 00127 unsigned uai_v_dismail : 1; 00128 unsigned uai_v_nomail : 1; 00129 unsigned uai_v_genpwd : 1; 00130 unsigned uai_v_pwd_expired : 1; 00131 unsigned uai_v_pwd2_expired : 1; 00132 unsigned uai_v_audit : 1; 00133 unsigned uai_v_disreport : 1; 00134 unsigned uai_v_disreconnect : 1; 00135 unsigned uai_v_autologin : 1; 00136 unsigned uai_v_disforce_pwd_change : 1; 00137 unsigned uai_v_captive : 1; 00138 unsigned uai_v_disimage : 1; 00139 unsigned uai_v_dispwddic : 1; 00140 unsigned uai_v_dispwdhis : 1; 00141 unsigned uai_v_defclsval : 1; 00142 unsigned uai_v_extauth : 1; 00143 unsigned uai_v_migratepwd : 1; 00144 unsigned uai_v_vmsauth : 1; 00145 unsigned uai_v_dispwdsynch : 1; 00146 unsigned uai_v_fill_59_ : 7; 00147 }; 00148 00149 struct _primedays { 00150 unsigned uai_v_monday : 1; 00151 unsigned uai_v_tuesday : 1; 00152 unsigned uai_v_wednesday : 1; 00153 unsigned uai_v_thursday : 1; 00154 unsigned uai_v_friday : 1; 00155 unsigned uai_v_saturday : 1; 00156 unsigned uai_v_sunday : 1; 00157 unsigned uai_v_fill_60_ : 1; 00158 }; 00159 00160 #define UAI_V_DISCTLY 0 00161 #define UAI_V_DEFCLI 1 00162 #define UAI_V_LOCKPWD 2 00163 #define UAI_V_RESTRICTED 3 00164 #define UAI_V_DISACNT 4 00165 #define UAI_V_DISWELCOM 5 00166 #define UAI_V_DISMAIL 6 00167 #define UAI_V_NOMAIL 7 00168 #define UAI_V_GENPWD 8 00169 #define UAI_V_PWD_EXPIRED 9 00170 #define UAI_V_PWD2_EXPIRED 10 00171 #define UAI_V_AUDIT 11 00172 #define UAI_V_DISREPORT 12 00173 #define UAI_V_DISRECONNECT 13 00174 #define UAI_V_AUTOLOGIN 14 00175 #define UAI_V_DISFORCE_PWD_CHANGE 15 00176 #define UAI_V_CAPTIVE 16 00177 #define UAI_V_DISIMAGE 17 00178 #define UAI_V_DISPWDDIC 18 00179 #define UAI_V_DISPWDHIS 19 00180 #define UAI_V_DEFCLSVAL 20 00181 #define UAI_V_EXTAUTH 21 00182 #define UAI_V_MIGRATEPWD 22 00183 #define UAI_V_VMSAUTH 23 00184 #define UAI_V_DISPWDSYNCH 24 00185 #define UAI_V_MONDAY 0 00186 #define UAI_V_TUESDAY 1 00187 #define UAI_V_WEDNESDAY 2 00188 #define UAI_V_THURSDAY 3 00189 #define UAI_V_FRIDAY 4 00190 #define UAI_V_SATURDAY 5 00191 #define UAI_V_SUNDAY 6 00192 00193 #endif 00194