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

Quirk in Dynlist overlay configuration



Hello,

in the FAQ-o-Matic http://www.openldap.org/faq/index.cgi?file=1209 it says

Unlike previous versions, you do not have to have multiple overlay
dynlist entries in your configuration; multiple occurrences of the
dynlist-attrpair/ dynlist-attrset statement must be used instead, with a
caveat: only the first match on the dyn-oc is used.

I tried this with the following configuration:

overlay dynlist
dynlist-attrset posixGroup memberURL
dynlist-attrset groupOfURLs memberURL owner

but slaptest complains about it - and the slapd doesn't start with it:

@(#) $OpenLDAP: slapd 2.3.34[...]
/usr/local/etc/openldap/slapd.conf: line 91: "dynlist-attrset <oc>
<URL-ad> [<member-ad>]": URL attributeDescription "memberURL" already
mapped.
slapd stopped.

When I use multiple "overlay dynlist"-entries like:

overlay dynlist
dynlist-attrset posixGroup memberURL
overlay dynlist
dynlist-attrset groupOfURLs memberURL owner

it works as expected, even though there is a warning:

overlay_config(): warning, overlay "dynlist" already in list

BTW: Although the new Version 2.3.35 isn't available via FreeBSD Ports
yet, I don't think that it would change anything, because the source
file of the dynlist-overlay doesn't seem to have changed in any part
that matters to this issue.

bye
Christian
-- 
Christian Marg                    mail: mailto:marg@rz.tu-clausthal.de
Rechenzentrum TU Clausthal        web : http://www.rz.tu-clausthal.de
D-38678 Clausthal-Zellerfeld      fon : 05323/72-2043
Germany                           ICQ : <on request>

Attachment: signature.asc
Description: OpenPGP digital signature