[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3701) slaptest is too quiet
Full_Name: Aaron Richton
Version: 2.3.2beta
OS: Linux
URL:
Submission from: (NULL) (128.6.31.137)
So, I've been running in circles, trying to use dynlist in (what I forgot was) a
dyngroup setup. Now you'd think that a setup without overlay dynlist available
would readily return an error/warning upon parsing "dynlist-oc groupOfURLs".
No. You need -d 64 to see:
slapd.conf: line 56: unknown directive <dynlist-oc> outside backend info and
database definitions (ignored)
Although I'm not personally sure I wouldn't like that "(ignored)" line to print
out in all cases, I can understand the philosophy of ignore and continue.
But slaptest? Surely that would point out my mistake? No. It happily prints
"config file testing succeeded." The -d 64 is necessary, again, to get "unknown
directive."
I'd claim that at least slaptest, and possibly slapd, should be a bit noisier
and/or aggressive. (I certainly shouldn't have to turn on debugging to get the
config checker to check the config!)