Lines Matching defs:password
61 * @param string $password A user's AD password
65 public function authenticate($username, $password, $preventRebind = false) {
66 return $this->adldap->authenticate($username, $password, $preventRebind);
72 * If you specify a password here, this can only be performed over SSL
87 if (array_key_exists("password",$attributes) && (!$this->adldap->getUseSSL() && !$this->adldap->getUseTLS())){
315 * Determine a user's password expiry date
342 // - User's own pwdLastSet attribute: stores the last time the password was changed
363 // intervals from the time the password was set before the password expires.
375 // Add maxpwdage and pwdlastset and we get password expiration time in Microsoft's
397 if (array_key_exists("password", $attributes) && !$this->adldap->getUseSSL() && !$this->adldap->getUseTLS()) {
470 * Set the password of a user - This must be performed over SSL
473 * @param string $password The new password
477 public function password($username, $password, $isGUID = false)
480 if ($password === NULL) { return false; }
492 $add["unicodePwd"][0] = $this->encodePassword($password);
500 $msg .= ' Your password might not match the password policy.';
513 * Encode a password for transmission over LDAP
515 * @param string $password The password to encode
518 public function encodePassword($password)
520 $password="\"".$password."\"";
522 for ($i=0; $i <strlen($password); $i++){ $encoded.="{$password[$i]}\000"; }