Hi,
I have a problem with the dynlist overlay:
when I request all attributes of an object, the dynlist expansion is done:
kmux-ldap:~# ldapsearch -LLL -x '(uid=kmux.admin)' dn: uid=kmux.admin,ou=Benutzer,dc=kmux,dc=de objectClass: inetLocalMailRecipient objectClass: sambaSamAccount objectClass: shadowAccount objectClass: posixAccount objectClass: inetOrgPerson objectClass: kmuxAccount labeledURI: ldap:///ou=Gruppen,dc=kmux,dc=de??one? (&(objectClass=posixGroup)(memberUid=kmux.admin)) labeledURI: ldap:///ou=Gruppen,dc=kmux,dc=de??one? (&(objectClass=posixGroup)(gidNumber=999)) member: cn=VPN,ou=Gruppen,dc=kmux,dc=de member: cn=Drucker,ou=Gruppen,dc=kmux,dc=de member: cn=Hauptbenutzer,ou=Gruppen,dc=kmux,dc=de member: cn=CMS,ou=Gruppen,dc=kmux,dc=de member: cn=ERP,ou=Gruppen,dc=kmux,dc=de member: cn=cdrom,ou=Gruppen,dc=kmux,dc=de member: cn=plugdev,ou=Gruppen,dc=kmux,dc=de member: cn=audio,ou=Gruppen,dc=kmux,dc=de member: cn=Administratoren,ou=Gruppen,dc=kmux,dc=de
(excuse for the line wrapping) (some attributes are not shown)
If I request the attribute "member" I get an empty search result:
kmux-ldap:~# ldapsearch -LLL -x '(uid=kmux.admin)' member dn: uid=kmux.admin,ou=Benutzer,dc=kmux,dc=de
Any hints?
Wilhelm Meier wrote:
Hi,
I have a problem with the dynlist overlay:
when I request all attributes of an object, the dynlist expansion is done:
kmux-ldap:~# ldapsearch -LLL -x '(uid=kmux.admin)' dn: uid=kmux.admin,ou=Benutzer,dc=kmux,dc=de objectClass: inetLocalMailRecipient objectClass: sambaSamAccount objectClass: shadowAccount objectClass: posixAccount objectClass: inetOrgPerson objectClass: kmuxAccount labeledURI: ldap:///ou=Gruppen,dc=kmux,dc=de??one? (&(objectClass=posixGroup)(memberUid=kmux.admin)) labeledURI: ldap:///ou=Gruppen,dc=kmux,dc=de??one? (&(objectClass=posixGroup)(gidNumber=999)) member: cn=VPN,ou=Gruppen,dc=kmux,dc=de member: cn=Drucker,ou=Gruppen,dc=kmux,dc=de member: cn=Hauptbenutzer,ou=Gruppen,dc=kmux,dc=de member: cn=CMS,ou=Gruppen,dc=kmux,dc=de member: cn=ERP,ou=Gruppen,dc=kmux,dc=de member: cn=cdrom,ou=Gruppen,dc=kmux,dc=de member: cn=plugdev,ou=Gruppen,dc=kmux,dc=de member: cn=audio,ou=Gruppen,dc=kmux,dc=de member: cn=Administratoren,ou=Gruppen,dc=kmux,dc=de
(excuse for the line wrapping) (some attributes are not shown)
If I request the attribute "member" I get an empty search result:
kmux-ldap:~# ldapsearch -LLL -x '(uid=kmux.admin)' member dn: uid=kmux.admin,ou=Benutzer,dc=kmux,dc=de
Any hints?
What version? And what configuration/dynamic group entry? I recall some (recent and not-so-recent) fixes in 2.4 that might be related.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it -----------------------------------
Am Montag 08 Dezember 2008 schrieb Pierangelo Masarati:
Wilhelm Meier wrote:
Hi,
I have a problem with the dynlist overlay:
when I request all attributes of an object, the dynlist expansion is done:
kmux-ldap:~# ldapsearch -LLL -x '(uid=kmux.admin)' dn: uid=kmux.admin,ou=Benutzer,dc=kmux,dc=de objectClass: inetLocalMailRecipient objectClass: sambaSamAccount objectClass: shadowAccount objectClass: posixAccount objectClass: inetOrgPerson objectClass: kmuxAccount labeledURI: ldap:///ou=Gruppen,dc=kmux,dc=de??one? (&(objectClass=posixGroup)(memberUid=kmux.admin)) labeledURI: ldap:///ou=Gruppen,dc=kmux,dc=de??one? (&(objectClass=posixGroup)(gidNumber=999)) member: cn=VPN,ou=Gruppen,dc=kmux,dc=de member: cn=Drucker,ou=Gruppen,dc=kmux,dc=de member: cn=Hauptbenutzer,ou=Gruppen,dc=kmux,dc=de member: cn=CMS,ou=Gruppen,dc=kmux,dc=de member: cn=ERP,ou=Gruppen,dc=kmux,dc=de member: cn=cdrom,ou=Gruppen,dc=kmux,dc=de member: cn=plugdev,ou=Gruppen,dc=kmux,dc=de member: cn=audio,ou=Gruppen,dc=kmux,dc=de member: cn=Administratoren,ou=Gruppen,dc=kmux,dc=de
(excuse for the line wrapping) (some attributes are not shown)
If I request the attribute "member" I get an empty search result:
kmux-ldap:~# ldapsearch -LLL -x '(uid=kmux.admin)' member dn: uid=kmux.admin,ou=Benutzer,dc=kmux,dc=de
Any hints?
What version?
2.4.11
And what configuration/dynamic group entry? I recall some (recent and not-so-recent) fixes in 2.4 that might be related.
slapd.conf: ... overlay dynlist dynlist-attrset kmuxAccount labeledURI member
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it
Wilhelm Meier wrote:
What version?
2.4.11
There have been at least two fixes to slapo-dynlist since 2.4.11. Please check whether your issue has already been addressed.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it -----------------------------------
Am Montag 08 Dezember 2008 schrieb Pierangelo Masarati:
Wilhelm Meier wrote:
What version?
2.4.11
There have been at least two fixes to slapo-dynlist since 2.4.11. Please check whether your issue has already been addressed.
Well, none of these issues addresses this problem. But I found, that dynamic generated attributes can not be used in filter-expressions! So, the dynlist overlay is useless for me.
Looks like I have to use autogroup-overlay for that!
Thanks.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it
openldap-software@openldap.org