[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: can't get memberof filter working

--On Friday, August 12, 2011 3:58 PM -0300 Gerardo Herzig <gherzig@fmed.uba.ar> wrote:

Thanks Quanah for your reply: Yes, it looks like im having the wrong

I 'just' need to check if a user have an entry at the People group
(where the password is), and *also* if that user belongs to the
MailUsers group (which contains the users able to use the mail system).

BTW, im just playing with ldapsearch now, but this is intented to be a
validation filter for a Zimbra instalation.

Then I think I would expect a filter of something like:

(&(uid=gherzig)(memberOf=cn=MailUsers,ou=groups,o=Work)) with a base of "ou=people,o=work"

I.e., it would validate that there is an entry with uid "gherzig" in the person tree, and that the entry is a memberof the cn=mailusers group.



Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
Zimbra ::  the leader in open source messaging and collaboration