[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Fwd: dynlist overlay expandable attributes are not searchable
- To: OpenLDAP-software@openldap.org
- Subject: Fwd: dynlist overlay expandable attributes are not searchable
- From: "Hai Zaar" <haizaar@gmail.com>
- Date: Wed, 4 Oct 2006 11:57:54 +0300
- Content-disposition: inline
- In-reply-to: <cfb54190609280436y35ce019bm6dc775239d17aab4@mail.gmail.com>
- References: <cfb54190609280436y35ce019bm6dc775239d17aab4@mail.gmail.com>
Dear List!
I have dynlist overlay configured in the following way:
dynlist-attrset groupOfURLs memberURL uniqueMember
Also I have this dynamic group:
dn: cn=audio,ou=PosixGroups,ou=Groups,dc=example,dc=com
cn: audio
description: All users eligible to use audio devices
objectClass: groupOfURLs
objectClass: top
objectClass: posixGroup
gidNumber: 11
memberURL: ldap:///ou=People,dc=example,dc=com?uid?one?(&(objectClass=p
osixAccount)(gidnumber=1000))
When I run the following search:
ldapsearch -x '(gidnumber=11)'
Then I get:
dn: cn=audio,ou=PosixGroups,ou=Groups,dc=example,dc=com
cn: audio
...
memberURL: ldap:///ou=People,dc=example,dc=com?uid?one?(&(objectClass=p
osixAccount)(gidnumber=1000))
uniqueMember: uid=foo,ou=people,dc=example,dc=com
uniqueMember: uid=bar,ou=people,dc=example,dc=com
I.e. everything works like exepected.
The problem is that this search returns nothing:
ldapsearch -x '(uniquemember=*)'
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (uniquemember=*)
# requesting: ALL
#
# search result
search: 2
result: 0 Success
# numResponses: 1
I would expect it to return dn:
cn=audio,ou=PosixGroups,ou=Groups,dc=example,dc=com
How can I fix this?
--
Zaar
--
Zaar