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

Re: commit: ldap/servers/slapd config.c



Howard Chu wrote:
Michael Ströder wrote:
Hallvard B Furuseth wrote:
Come to think of it, one disadvantage of ignoring '-' and '_' rather
than treating them as the same: It somewhat increases the chance of name
clashes with option names in overlays.

Yepp. The parameter's prefix should be prepended with a separator (either by hyphen or underscore). Otherwise one has to maintain a prefix code.

True for now, but I expect this sort of consideration to be less important going forward, as we emphasize cn=config and deprecate slapd.conf.

Until now my understanding was that slapd.conf is still supported for all upcoming 2.4 releases.


So if you don't want to prevent new parameters from being supported in slapd.conf you have to either maintain a prefix code covering all parameters or use a separator for defining a separate name space for each overlay. Just stripping separators is an information loss.

BTW: I prefer slapd.conf since it makes documentation (operational concept) and change management in projects much easier.

Ciao, Michael.