[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapadd shows wrong error message on non-readable ldif file (ITS#4044)
> I note that by running the tool with an appropriate log level (NONE, i.e.
> 2048, suffices) yields the expected error message:
>
> -.-.-.-.-.-.-.-.-.-.-.-.-
> ando@ando:> ls -l x
> ---------- 1 ando users 0 2005-10-11 14:00 x
> ando@ando:> ../servers/slapd/slapadd -f x -d 2048
> could not open config file "x": Permission denied (13)
> slapadd: bad configuration file!
> -.-.-.-.-.-.-.-.-.-.-.-.-
>
> I wouldn't object too much if 2048 were the default log level for the
> tools.
Now slapd tools by default log at "none" level (32768, not 2048); so
typically descriptive error messages show up by default, as indicated
above. To really disable output, use "-d 0". The fix is in HEAD, and
likely it will only affect re23.
p.
--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it
Ing. Pierangelo Masarati
Responsabile Open Solution
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------