Lines Matching defs:adldap
55 protected $adldap = [];
167 $adldap = $this->initAdLdap($this->getUserDomain($user));
168 if (!$adldap) return false;
171 return $adldap->authenticate($this->getUserName($user), $pass);
209 $adldap = $this->initAdLdap($this->getUserDomain($user));
210 if (!$adldap) return false;
221 $result = $adldap->user()->info($this->getUserName($user), $fields);
245 $info['grps'] = $adldap->user()->groups($this->getUserName($user), (bool) $this->opts['recursive_groups']);
269 $expiry = $adldap->user()->passwordExpiry($user);
400 $adldap = $this->initAdLdap(null);
401 if (!$adldap) {
406 $result = $adldap->user()->all();
409 $result = $adldap->user()->all(false, $searchString);
515 $adldap = $this->initAdLdap(null);
516 if (!$adldap) return [];
520 $result = $adldap->user()->all(false, $this->constructSearchString($filter));
583 $adldap = $this->initAdLdap($this->getUserDomain($user));
584 if (!$adldap) {
592 $return = $adldap->user()->password($this->getUserName($user), $changes['pass']);
614 $return &= $adldap->user()->modify($this->getUserName($user), $adchanges);
642 if (isset($this->adldap[$domain])) return $this->adldap[$domain];
646 $this->adldap[$domain] = new adLDAP($this->opts);
647 return $this->adldap[$domain];
653 $this->adldap[$domain] = null;