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

Re: dynlist with back-config examples



Jeff Strunk wrote:
Is anyone using the dynlist overlay and back-config? The slapo-dynlist
man page says it supports configuration via back-config, but it does
not say how. My searches have only come up with old messages from
before the overlay supported back-config and the man page.

So far, I have added "olcModuleLoad: {2}dynlist.la" to
cn=module{0},cn=config . After reloading,

Reloading what? The whole point of cn=config is that you can ldapmodify it while slapd is running and the changes take effect immediately.


I checked cn=subschema for
olcDLattrSet which I found in the dynlist source, but it wasn't there.

I think I would to add the following entry:

dn: olcOverlay={1}dynlist,olcDatabase={1}hdb,cn=config
objectClass: olcOverlayConfig
objectClass: top
olcOverlay: {1}dynlist
olcDLattrSet: groupOfURLs memberURL

When I try, I get:
adding new entry "olcOverlay={1}dynlist,olcDatabase={1}hdb,cn=config"
ldap_add: Object class violation (65)
         additional info: attribute 'olcDLattrSet' not allowed

What is the right way to do this?

You also need objectClass: olcDynamicList

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/