El jue, 11-08-2011 a las 17:34 +0200, Keutel, Jochen (mlists) escribió:
Hello, your filter correctly doesn't return any result: First part fits for groups, second part fits for persons. Probably there is no entry in your directory beeing both person AND group ...
Regards, Jochen.
Am 11.08.2011 16:58, schrieb masarati@aero.polimi.it:
Hi all. Im having hard time triyng to figure out what is wrong with this ldap query:
Im triyng to filter a specific user inside a specific group. Like this /usr/bin/ldapsearch -x -D ".." -w.. -b "o=Work" "(&(uniquemember=uid=gherzig,ou=People,o=Work) (memberof=cn=MailUsers,ou=Groups,o=Work))"
It gets no results, but if i remove the memberof part, it works good. "(&(uniquemember=uid=gherzig,ou=People,o=Work))" as a filter gives me all the entries that users is in.
Anybody agree on this? Im confusing the filter's usage? Any hints on how to verify if it belongs to the People group and it is an entry on the MailUser GroupOfUniqueNames?
Thanks all. Gerardo