| /dokuwiki/lib/plugins/authad/adLDAP/classes/ |
| H A D | adLDAPFolders.php | 48 protected $adldap; variable in adLDAPFolders 50 public function __construct(adLDAP $adldap) { argument 51 $this->adldap = $adldap; 62 $result = ldap_delete($this->adldap->getLdapConnection(), $dn); 83 …if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } //use the default o… 84 if (!$this->adldap->getLdapBind()) { return false; } 117 $searchOu = $this->adldap->getBaseDn(); 120 $filter .= '(!(distinguishedname=' . $ou . ',' . $this->adldap->getBaseDn() . ')))'; 121 $searchOu = $ou . ',' . $this->adldap->getBaseDn(); 124 $filter .= '(!(distinguishedname=' . $this->adldap->getBaseDn() . ')))'; [all …]
|
| H A D | adLDAPContacts.php | 49 protected $adldap; variable in adLDAPContacts 51 public function __construct(adLDAP $adldap) { argument 52 $this->adldap = $adldap; 74 $add = $this->adldap->adldap_schema($attributes); 91 …$this->adldap->getLdapConnection(), "CN=" . $this->adldap->utilities()->escapeCharacters($add["cn"… 109 …if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } //use the default o… 110 if (!$this->adldap->getLdapBind()){ return false; } 114 …$groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry retur… 118 $extraGroups = $this->adldap->group()->recursiveGroups($groupName); 136 if (!$this->adldap->getLdapBind()) { return false; } [all …]
|
| H A D | adLDAPComputers.php | 50 protected $adldap; variable in adLDAPComputers 52 public function __construct(adLDAP $adldap) { argument 53 $this->adldap = $adldap; 66 if (!$this->adldap->getLdapBind()) { return false; } 72 …$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields… 73 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr); 88 if (!$this->adldap->getLdapBind()) { return false; } 93 $collection = new adLDAPComputerCollection($info, $this->adldap); 111 if (!$this->adldap->getLdapBind()) { return false; } 112 …if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } // use the default … [all …]
|
| H A D | adLDAPGroups.php | 51 protected $adldap; variable in adLDAPGroups 53 public function __construct(adLDAP $adldap) { argument 54 $this->adldap = $adldap; 83 $result = @ldap_mod_add($this->adldap->getLdapConnection(), $parentDn, $add); 104 $userDn = $this->adldap->user()->dn($user, $isGUID); 119 $result = @ldap_mod_add($this->adldap->getLdapConnection(), $groupDn, $add); 148 $result = @ldap_mod_add($this->adldap->getLdapConnection(), $groupDn, $add); 182 …$result = ldap_add($this->adldap->getLdapConnection(), "CN=" . $add["cn"] . ", " . $container . ",… 197 if (!$this->adldap->getLdapBind()){ return false; } 202 $result = $this->adldap->folder()->delete($dn); [all …]
|
| H A D | adLDAPUsers.php | 51 protected $adldap; variable in adLDAPUsers 53 public function __construct(adLDAP $adldap) { argument 54 $this->adldap = $adldap; 66 return $this->adldap->authenticate($username, $password, $preventRebind); 87 …if (array_key_exists("password",$attributes) && (!$this->adldap->getUseSSL() && !$this->adldap->ge… 96 $add = $this->adldap->adldap_schema($attributes); 119 …$result = @ldap_add($this->adldap->getLdapConnection(), "CN=" . $add["cn"][0] . ", " . $container … 175 $result = $this->adldap->folder()->delete($dn); 193 …if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } // Use the default … 194 if (!$this->adldap->getLdapBind()) { return false; } [all …]
|
| H A D | adLDAPExchange.php | 48 protected $adldap; variable in adLDAPExchange 50 public function __construct(adLDAP $adldap) { argument 51 $this->adldap = $adldap; 75 $baseDn = $this->adldap->getBaseDn(); 83 $mdbUseDefaults = $this->adldap->utilities()->boolToString($useDefaults); 91 $result = $this->adldap->user()->modify($username, $attributes, $isGUID); 120 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID); 128 $add = $this->adldap->adldap_schema($attributes); 135 $result = @ldap_mod_add($this->adldap->getLdapConnection(), $userDn, $add); 163 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID); [all …]
|
| H A D | adLDAPUtils.php | 50 protected $adldap; variable in adLDAPUtils 52 public function __construct(adLDAP $adldap) { argument 53 $this->adldap = $adldap;
|
| /dokuwiki/lib/plugins/authad/adLDAP/collections/ |
| H A D | adLDAPCollection.php | 45 protected $adldap; variable in adLDAPCollection 61 public function __construct($info, adLDAP $adldap) argument 64 $this->adldap = $adldap;
|
| /dokuwiki/lib/plugins/authad/ |
| H A D | auth.php | 55 protected $adldap = []; variable in auth_plugin_authad 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_g… 269 $expiry = $adldap->user()->passwordExpiry($user); 400 $adldap = $this->initAdLdap(null); [all …]
|