[Freeipa-users] MemberOf plugin and LDAP filter

James James jreg2k at gmail.com
Tue Sep 18 14:05:28 UTC 2012


Oups in the first message I should write :
I want to have the email of the emails of all the person belonging to a
group.

and not
I want to have the email of the emails of all the person belongingS to a
group.

:0)


2012/9/18 James James <jreg2k at gmail.com>

> 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 <rcritten at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20120918/41573a14/attachment.htm>


More information about the Freeipa-users mailing list