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

(ITS#4074) slapd ignores invalid pid/arg files



Full_Name: Pierangelo Masarati
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.72.89.40)
Submitted by: ando


If an invalid pid file is supplied, slapd ignores it.  I guess a better choice
would be:

- if no explicit pid file is provided, try to open the default one and ignore
failures
- if an explicit pid file is provided, complain if it cannot be opened
(insufficient access, nonexistent directory in path, or path element is not a
dir or so).
- slaptest should also complain, since such a slapd.conf would result in slapd
not starting.

p.