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

Re: slapd-{ldap,meta} && authentication



>
> The ITS I'm trying to submit is the following:
>
> ----- s n i p -----
> Running 'slapd -d -1' gives me the following:
> reading config file /etc/ldap/slapd.conf
> line 2 (allow bind_v2)
> line 21 (loglevel       2176    # Parsing errors + ACL)
> /etc/ldap/slapd.conf: line 21: unable to parse level "#" in "loglevel
> <level> [...]"
>
> Line 21 looks like this:
> loglevel                2176    # Parsing errors + ACL
>
> Removing everything after the the number '6' will make slapd start up:
> loglevel               2176
>
> I was upgrading from released 2.2.14.
> ----- s n i p -----
>

Comments are not allowed anywhere in the file, but must start on the first
column of a line; in detail, the loglevel command accepts a list of
arguments that are ORed to build the actual log level.  As such, slapd is
trying to parse "#", "Parsing", "+" and "ACL" as log levels.  Apparently
you were exploiting a bug in loglevel parsing that used to read only the
first argument.  This was fixed between 2.2.14 and 2.2.15.

p.


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497