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

Re: can't get memberof filter working

El vie, 12-08-2011 a las 12:37 -0700, Quanah Gibson-Mount escribiÃ:
> --On Friday, August 12, 2011 3:10 PM -0300 Gerardo Herzig 
> <gherzig@fmed.uba.ar> wrote:
> > filter="(&(&(memberOf=cn=MailUsers,ou=groups,o=Work)(uniqueMember=uid=ghe
> > rzig,ou=people,o=Work)))" Aug 12 14:55:44 inca slapd[28386]: <=
> This filter looks wrong.
> Also, are you 100% certain that you have an entry that contains both:
> uniqueMember=uid=gherzig,ou=people,o=Work
> memberOf=cn=MailUsers,ou=groups,o=Work
> ?
> uniqueMember is usually an attribute in a group, where memberOf is usually 
> an attribute in a user entry.  So it would generally be odd to have them 
> both in the same entry.

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.

Thanks again!