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

Re: ppolicy

Rick Stevens wrote:
 I'm a bit surprised that neither the slapd parser nor slaptest
caught it.  Ah, well.

If you used -d config with slap* from OpenLDAP 2.3, you would have gotten

slapd.conf: line 11: <overlay> extra cruft after <overlay> ignored.

If you used OpenLDAP 2.4, you would have gotten an error

slapd.conf: line 11: <overlay> extra cruft after <overlay>.
slaptest: bad configuration file!

since 2.4 is much less forgiving about unrecognized statements in slapd.conf. Strengthening those checks was deferred to 2.4 to avoid changing the traditionally forgiving behavior many people seem to appreciate at mid-life of 2.3.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it