[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: dynlist overlay and ldapsearch
2010/2/3 Thomas Chemineau <thomas.chemineau@gmail.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
>
Ok, do not waste your time to respond to me ;)
This discussion is clear:
http://www.openldap.org/lists/openldap-software/200909/msg00073.html
Regards,
Thomas.
--
Thomas Chemineau