[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: dynlist overlay and ldapsearch
- To: openldap-software@openldap.org
- Subject: Re: dynlist overlay and ldapsearch
- From: Thomas Chemineau <thomas.chemineau@gmail.com>
- Date: Wed, 3 Feb 2010 11:29:10 +0100
- Cc: Howard Chu <hyc@symas.com>, ben thielsen <bthielsen@safarivideonetworks.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=2EPJypuUU3GzuwtmhlxhH1tJSa+rq3TE4o7pEYPdya0=; b=ZODgHIdoxQKxQbBiz+DO+ds7acIt2iTFxm9KzYSV+ctZeEfWiIa1DkVUIIqQJW0DWG Gd3DZpTgA/5Zc2TTJOLFUt0fO9SUvZF5hiRNGS7Z55M1csmtmn+HI+GgGiKd1FG5JEgI aCQDnn38gBUe8ge2NZYJPA6p4xt4ypJXjrlI4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=GN+PKBWuytfC1WWz6uUs1Kp279xFG648KXYrqY5lycq0jywsN82R6CN7SEc9xRpIq4 b+qKi0mXRWbooxxd4mkRSzZI5B/iUSz8kWiseSEmnlsoODTlPkWQ206KRHL6P8YKB5d2 wsVh0oPHrDytPIkxfRD1PqXBQgTYCqnyk1Haw=
- In-reply-to: <498A72DA.4020505@symas.com>
- References: <498A274E.9000109@safarivideonetworks.com> <498A72DA.4020505@symas.com>
2009/2/5 Howard Chu <hyc@symas.com>:
> ben thielsen wrote:
>>
>> hi-
>>
>> i'm using the dynlist overlay and am not getting back the search results i
>> expected. i'm using 2.4.11 courtesy of debian.
>>
>> here is my overlay config:
>>
>> >ldapsearch -xWLLLD 'cn=admin,cn=config' -b 'cn=config'
>> "(objectclass=olcdynamiclist)"
>>
>> dn: olcOverlay={5}dynlist,olcDatabase={2}bdb,cn=config
>> objectClass: olcOverlayConfig
>> objectClass: olcDynamicList
>> olcOverlay: {5}dynlist
>> olcDLattrSet: {0}groupOfNames memberURL member
>> olcDLattrSet: {1}mailGroup labeledURI
>>
>> here is the entry in question:
>>
>> >ldapsearch -xWLLLD 'cn=admin,dc=groundnoise,dc=net' -s base -b
>> 'cn=abuse,ou=distribution_groups,ou=all_domains,ou=domains,ou=mail,dc=groundnoise,dc=net'
>>
>> dn:
>> cn=abuse,ou=distribution_groups,ou=all_domains,ou=domains,ou=mail,dc=groun
>> dnoise,dc=net
>> objectClass: mailGroup
>> objectClass: top
>> objectClass: extensibleObject
>> cn: abuse
>> member:
>> cn=postmaster,ou=distribution_groups,ou=all_domains,ou=domains,ou=mail
>> ,dc=groundnoise,dc=net
>> labeledURI:
>> ldap:///ou=domains,ou=mail,dc=groundnoise,dc=net?host?sub?(objectC
>> lass=mailDomain)
>> host: phone.dipswitch.net
>> host: luna.mpls.mn.us
>> host: groundnoise.net
>> host: thielsen.org
>> host: sjva1991.org
>> host: dipswitch.net
>> host: bitrate.net
>>
>> searched for another way:
>>
>> >ldapsearch -xWLLLD 'cn=admin,dc=groundnoise,dc=net'
>> '(&(objectclass=mailgroup)(cn=abuse))' host
>>
>> dn:
>> cn=abuse,ou=distribution_groups,ou=all_domains,ou=domains,ou=mail,dc=groun
>> dnoise,dc=net
>> host: phone.dipswitch.net
>> host: luna.mpls.mn.us
>> host: groundnoise.net
>> host: thielsen.org
>> host: sjva1991.org
>> host: dipswitch.net
>> host: bitrate.net
>>
>> however, the results from this search are missing that entry:
>>
>> >ldapsearch -xWLLLD 'cn=admin,dc=groundnoise,dc=net'
>> '(host=dipswitch.net)' dn
>
>> what am i doing wrong?
>
> Nothing's wrong. dynlist doesn't support that type of search.
>
> This was just discussed here a couple weeks ago.
> http://www.openldap.org/lists/openldap-software/200901/msg00080.html
>
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/
>
Hi,
Is there any evolutions on this feature ?
Regards,
Thomas.
--
Thomas Chemineau