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

Re: (ITS#5022) ldappasswd crash consumer slapd with some loglevels



gao@schrodinger.com wrote:

> URL: ftp://ftp.schrodinger.com/support/openldap/simon.gao.openldap_2.3.35.its.ext

^^^ This link is unreachable

> When following command against a consumer slapd, it will crash slapd of the
> consumer when loglevel is set to any other value other than 1 or -1 on the
> consumer:
> 
> ldappasswd -v -H ldap://consumer -D "uid=joe,ou=people,dc=example,dc=com" -W -S
> -x -A
> 
> The crash happens to at least to loglevel 0, 256, 512. When loglevel is set to 1
> or "-1", then no crash is experienced. In addition, when run consumer slapd
> manually as front process,

^^^ what does this mean?

> then all debug level works without problem.

OpenLDAP re23 (in practice, 2.3.36 just released) doesn't show anything
like that.  I note that differences related to the debug level usually
mean that a NULL or an invalid pointer is passed to a *printf(3) routine
on those systems that do not tolerate it (e.g. Solaris).  But usually
the bug disappears when __decreasing__ the log level, while -1 means all.

p.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
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
---------------------------------------