• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /dokuwiki/lib/plugins/authad/adLDAP/classes/

Lines Matching refs:options

128     * Account control options
130 * @param array $options The options to convert to int
133 protected function accountControl($options)
137 if (is_array($options)) {
138 if (in_array("SCRIPT",$options)){ $val=$val+1; }
139 if (in_array("ACCOUNTDISABLE",$options)){ $val=$val+2; }
140 if (in_array("HOMEDIR_REQUIRED",$options)){ $val=$val+8; }
141 if (in_array("LOCKOUT",$options)){ $val=$val+16; }
142 if (in_array("PASSWD_NOTREQD",$options)){ $val=$val+32; }
145 if (in_array("ENCRYPTED_TEXT_PWD_ALLOWED",$options)){ $val=$val+128; }
146 if (in_array("TEMP_DUPLICATE_ACCOUNT",$options)){ $val=$val+256; }
147 if (in_array("NORMAL_ACCOUNT",$options)){ $val=$val+512; }
148 if (in_array("INTERDOMAIN_TRUST_ACCOUNT",$options)){ $val=$val+2048; }
149 if (in_array("WORKSTATION_TRUST_ACCOUNT",$options)){ $val=$val+4096; }
150 if (in_array("SERVER_TRUST_ACCOUNT",$options)){ $val=$val+8192; }
151 if (in_array("DONT_EXPIRE_PASSWORD",$options)){ $val=$val+65536; }
152 if (in_array("MNS_LOGON_ACCOUNT",$options)){ $val=$val+131072; }
153 if (in_array("SMARTCARD_REQUIRED",$options)){ $val=$val+262144; }
154 if (in_array("TRUSTED_FOR_DELEGATION",$options)){ $val=$val+524288; }
155 if (in_array("NOT_DELEGATED",$options)){ $val=$val+1048576; }
156 if (in_array("USE_DES_KEY_ONLY",$options)){ $val=$val+2097152; }
157 if (in_array("DONT_REQ_PREAUTH",$options)){ $val=$val+4194304; }
158 if (in_array("PASSWORD_EXPIRED",$options)){ $val=$val+8388608; }
159 if (in_array("TRUSTED_TO_AUTH_FOR_DELEGATION",$options)){ $val=$val+16777216; }