[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: dynlist-overlay and requesting an attribute



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