On 09/02/2013 04:52 PM, a.rossini@cineca.it wrote:
Full_Name: Angelo Rossini Version: slapd 2.4.23 (Dec 16 2012 11:48:44) OS: Debian GNU/Linux 6.0 2.6.32-5-amd64 x86_64 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (130.186.20.62)
I've tried to use the overlay dynlist to manage dynamic group; i've added these rows to slapd.conf:
# required schema for dynamic groups include /etc/ldap/schema/dyngroup.schema
# permanent load of the dynlist overlay
moduleload dynlist
overlay dynlist dynlist-attrset groupOfURLs memberURL seeAlso
And created a group using this LDIF:
dn: cn=GROUP_DYN,ou=gruppi,o=unixx,dc=unixx,dc=it
objectClass: groupOfURLs
cn: GROUP_DYN
memberURL: ldap:///ou=users,o=unixx,dc=unixx,dc=it??sub?(schacPersonalPosition=STUDENTE)
When i try ldap searches like ldapsearch --baseDN cn=GROUP_DYN,ou=gruppi,o=unixx,dc=unixx,dc=it '(objectClass=*)' or like ldapsearch --baseDN cn=GROUP_DYN,ou=gruppi,o=unixx,dc=unixx,dc=it 'isMemberOf=cn=GROUP_DYN,ou=gruppi,o=unixx,dc=unixx,dc=it' is not possible to retrieve the list of distinguished names of the results but only a list of some other attributes of the result.
The configuration is exactly the one described in the http://www.openldap.org/doc/admin24/overlays.html#Dynamic Lists page.
What is wrong?
So far, there is no evidence of a software bug. Does your build pass test044 ? If so, then it must be something in the way you're using the overlay.
You should direct the discussion to the openldap-technical mailing list, and provide a simple, self-contained test case that reproduces the problem.
p.