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

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

Howard Chu writes:
> I figured since this hadn't been documented yet I could change it
> without repercussions. But it raises a question of consistency; we
> have some options using hyphens, and some using underscores, and I
> don't really see any rationale for which is chosen. Anyone have a
> preference, and a reason?

One fix is to translate '-' to '_' internally in slapd.conf option
names, or to ignore both.  Inconsistent with ldap.conf keywords though.
Could do the same there, but then we must walk through all environment
variables instead of using getenv(), I don't know if that is possible
on all supported OSes.