-
Notifications
You must be signed in to change notification settings - Fork 160
Cannot get the list of members of a group when using IN. #794
Comments
Hi @vsc55, Have you configured your connection to use the |
Hi @stevebauman, I am using it here: I use this schema that we are inheriting from the \Adldap\Schemas\OpenLDAP class. The groups are obtained with the following code: $search = $this->ldap->search();
$paginator = $search->in($groupdn)->rawFilter("(&".$this->config['groupobjectfilter']."(objectclass=".$this->config['groupobjectclass']."))")->select(["*",$this->config['groupgidnumberattr'],$this->config['descriptionattr'],$this->config['groupnameattr'], $this->config['externalidattr'], $this->config['groupmemberattr']])->paginate($this->limit, 1);
$results = $paginator->getResults(); This returns the groups but when trying to obtain the members of each group with getMembers() it does not return data. |
Description:
The members that make up a group are not found if it is used "->in()".
Could I be doing something wrong?
what I want is to obtain the groups within the dn "ou=PBX,ou=Group,dc=domian,dc=lan" and to be able to obtain the members of each groups.
Steps To Reproduce:
Work Good:
Return:
Work Bad:
Return:
The text was updated successfully, but these errors were encountered: