Lines Matching refs:adldap

9  *   email: scott@wiggumworld.com, adldap@richardhyland.com
10 * http://adldap.sourceforge.net/
35 * @link http://adldap.sourceforge.net/
49 protected $adldap;
51 public function __construct(adLDAP $adldap) {
52 $this->adldap = $adldap;
74 $add = $this->adldap->adldap_schema($attributes);
91 $result = @ldap_add($this->adldap->getLdapConnection(), "CN=" . $this->adldap->utilities()->escapeCharacters($add["cn"][0]) . ", " . $container . "," . $this->adldap->getBaseDn(), $add);
109 if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } //use the default option if they haven't set it
110 if (!$this->adldap->getLdapBind()){ return false; }
114 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry returned is our contact
118 $extraGroups = $this->adldap->group()->recursiveGroups($groupName);
136 if (!$this->adldap->getLdapBind()) { return false; }
142 $sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
143 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
147 if ($this->adldap->getRealPrimaryGroup() && isset($entries[0]["primarygroupid"][0]) && isset($entries[0]["primarygroupid"][0])){
149 $entries[0]["memberof"][] = $this->adldap->group()->getPrimaryGroup($entries[0]["primarygroupid"][0], $entries[0]["objectsid"][0]);
151 $entries[0]["memberof"][] = "CN=Domain Users,CN=Users," . $this->adldap->getBaseDn();
169 if (!$this->adldap->getLdapBind()) { return false; }
174 $collection = new adLDAPContactCollection($info, $this->adldap);
192 if (!$this->adldap->getLdapBind()) { return false; }
193 if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } //use the default option if they haven't set it
217 $mod = $this->adldap->adldap_schema($attributes);
225 $result = ldap_modify($this->adldap->getLdapConnection(), $distinguishedName, $mod);
257 if (!$this->adldap->getLdapBind()) { return false; }
262 $sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
263 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
291 return $this->adldap->exchange()->contactMailEnable($distinguishedName, $emailAddress, $mailNickname);