LDAP group membership filter for ACL searches (SJWS 7)

We have an LDAP authentication database, and some ACL's specifying that you need to be member of an LDAP group.

When I look at the query being done to the LDAP, it is :

[19/Jul/2007:15:57:57 +0200] conn=203 op=4 msgId=5 - SRCH base="o=eurocontrol,o=ec" scope=2 filter="(|(&(objectclass=groupofuniquenames)(|(uniquemember=uid=sbiesbro,ou =eurousers,o=eurocontrol,o=ec)))(&(objectclass=group)(|(member=uid=sbiesbro, ou=eurousers,o=eurocontrol,o=ec)))(&(objectclass=groupofnames)(|(member=uid= sbiesbro,ou=eurousers,o=eurocontrol,o=ec))))" attrs="cn"

which is not super fast as it is using attributes (e..g. member) which is not indexed (but the ACL is working)

I then first tried to set the --group-search-attr to uniquemember, but this had no effect (still same query)

I then tried to set the --group-search-filter to (uniquemember=%d) but then the ACL fails, and there is NO search for group membership to LDAP (only authentication check).

What am I doing wrong ?

Thanks

Stephan

[1049 byte] By [Stephan_Biesbroecka] at [2007-11-27 11:05:38]
# 1

What does this particular ACL look like?

And

What are the settings in the LDAP auth-db configuration?

nseguraa at 2007-7-29 13:10:01 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

Not specific to the question but perhaps this can offer insight into diagnosing:

http://blogs.sun.com/jyrivirkki/entry/diagnosing_ldap_authentication_from_jes

jyria at 2007-7-29 13:10:01 > top of Java-index,Web & Directory Servers,Web Servers...