Thanks for your answer.
In my group I have to users but when I use this command :

 $ ldapsearch -Y GSSAPI -b 'cn=users,cn=accounts,dc=example,dc=com'
'(memberOf=cn=mygroup,cn=groups,cn=accounts,dc=example,dc=com)' mail

the result is:

# search result
search: 2
result: 0 Success

How can I check my memberOf plugin ?


2012/9/18 Rob Crittenden <rcrit...@redhat.com>

> James James wrote:
>
>> Hi everybody,
>>
>> can somebody help me with the memberof plugin ? Is there a way to add
>> the memberof attribute like it was in 389-ds ?
>> For my mailing list program, I want to have the email of the emails of
>> all the person belongings to a group. Is there a filter to do that ?
>>
>
> To find all e-mail address of users in group "mygroup" use:
>
> $ ldapsearch -Y GSSAPI -b 'cn=users,cn=accounts,dc=**example,dc=com'
> '(memberOf=cn=mygroup,cn=**groups,cn=accounts,dc=example,**dc=com)' mail
>
> This will include nested users who are in groups that are members of
> mygroup.
>
> rob
>
_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to