Lines Matching defs:adldap
9 * email: scott@wiggumworld.com, adldap@richardhyland.com
10 * http://adldap.sourceforge.net/
35 * @link http://adldap.sourceforge.net/
48 protected $adldap;
50 public function __construct(adLDAP $adldap) {
51 $this->adldap = $adldap;
62 $result = ldap_delete($this->adldap->getLdapConnection(), $dn);
71 * See http://adldap.sourceforge.net/wiki/doku.php?id=api_folder_functions
83 if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } //use the default option if they haven't set it
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() . ')))';
128 $sr = ldap_search($this->adldap->getLdapConnection(), $searchOu, $filter, array('objectclass', 'distinguishedname', 'samaccountname'));
129 $entries = @ldap_get_entries($this->adldap->getLdapConnection(), $sr);
135 $sr = ldap_list($this->adldap->getLdapConnection(), $searchOu, $filter, array('objectclass', 'distinguishedname', 'samaccountname'));
136 $entries = @ldap_get_entries($this->adldap->getLdapConnection(), $sr);
169 $result = ldap_add($this->adldap->getLdapConnection(), "OU=" . $add["OU"] . ", " . $containers . $this->adldap->getBaseDn(), $add);