Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Merged pull
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Apr 15, 2015
1 parent fc6b785 commit f7b4b75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Adldap/Classes/AdldapFolders.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public function listing($folderName = NULL, $dnType = Adldap::ADLDAP_FOLDER, $re
$fields = array(
'objectclass',
'distinguishedname',
'samaccountname'
'samaccountname',
'description',
);

if ($recursive === true)
Expand Down
2 changes: 1 addition & 1 deletion src/Adldap/Classes/AdldapGroups.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ public function info($groupName, array $fields = array(), $isGUID = false)

$filter = "name=" . $this->adldap->utilities()->ldapSlashes($groupName);
}

$filter = "(&(objectCategory=group)(name=$filter))";

$results = $this->connection->search($this->adldap->getBaseDn(), $filter, $fields);
Expand Down

0 comments on commit f7b4b75

Please sign in to comment.