- add dynamic groups like the following :
dn: cn=aletter,ou=group,dc=nuxeo,dc=com memberURL: ldap:///ou=people,dc=nuxeo,dc=com??sub?(givenName=a*) cn: aletter description: Groupe des utilisateurs dont le prenom commence par a objectClass: groupOfUrls objectClass: top
- add a user contained in this group :
dn: uid=adulogis,ou=people,dc=nuxeo,dc=com uid: adulogis cn: adulogis givenName: Alfred sn: Dulogis objectClass: inetOrgPerson objectClass: top userPassword: password
- setup nuxeo HF26+ to connect the ldap server
- check the group and see the user in it
- check the user, the group does not appear
The issue is in LDAPReference:
if (getFilterMatcher().match(targetAttributes, ldapUrl.getFilter())) {
In this case ldapUrl.getFilter() would evaluate to (givenName=a*) but the optimizations introduced in HF23+ don't return all the attributes then it never matches and the groups don't get displayed.