Lines Matching refs:entries

328              $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
331 if ($entries['count'] == 0 && $recursive == true) {
335 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
336 if (!isset($entries[0]['distinguishedname'][0])) {
339 $subGroups = $this->inGroup($entries[0]['distinguishedname'][0], $recursive);
347 $groupArray[] = $entries[0]['distinguishedname'][0];
376 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
379 if ($entries['count'] == 0 && $recursive == true) {
383 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
384 if (!isset($entries[0]['samaccountname'][0])) {
387 $subUsers = $this->members($entries[0]['samaccountname'][0], $recursive);
394 else if ($entries['count'] == 0) {
398 …if ((!isset($entries[0]['samaccountname'][0]) || $entries[0]['samaccountname'][0] === NULL) && $en…
399 $userArray[] = $entries[0]['distinguishedname'][0];
401 else if ($entries[0]['samaccountname'][0] !== NULL) {
402 $userArray[] = $entries[0]['samaccountname'][0];
430 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
432 return $entries;
514 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
517 for ($i=0; $i<$entries["count"]; $i++){
518 if ($includeDescription && strlen($entries[$i]["description"][0]) > 0 ) {
519 $groupsArray[$entries[$i]["samaccountname"][0]] = $entries[$i]["description"][0];
522 $groupsArray[$entries[$i]["samaccountname"][0]] = $entries[$i]["samaccountname"][0];
525 array_push($groupsArray, $entries[$i]["samaccountname"][0]);
593 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
595 if (isset($entries[0]['distinguishedname'][0])) {
596 return $entries[0]['distinguishedname'][0];
621 $entries = ldap_get_entries($this->adldap->getLdapConnection(), $sr);
623 for ($i=0; $i<$entries["count"]; $i++){
624 if ($entries[$i]["primarygrouptoken"][0] == $gid) {
625 $r = $entries[$i]["distinguishedname"][0];
626 $i = $entries["count"];