Lines Matching full:add
96 $add = $this->adldap->adldap_schema($attributes);
99 $add["cn"][0] = $attributes["display_name"];
100 $add["samaccountname"][0] = $attributes["username"];
101 $add["objectclass"][0] = "top";
102 $add["objectclass"][1] = "person";
103 $add["objectclass"][2] = "organizationalPerson";
104 $add["objectclass"][3] = "user"; //person?
105 //$add["name"][0]=$attributes["firstname"]." ".$attributes["surname"];
112 $add["userAccountControl"][0] = $this->accountControl($control_options);
118 // Add the entry
119 $result = @ldap_add($this->adldap->getLdapConnection(), "CN=" . $add["cn"][0] . ", " . $container . "," . $this->adldap->getBaseDn(), $add);
375 // Add maxpwdage and pwdlastset and we get password expiration time in Microsoft's
491 $add=array();
492 $add["unicodePwd"][0] = $this->encodePassword($password);
494 $result = @ldap_mod_replace($this->adldap->getLdapConnection(), $userDn, $add);