[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3732) -DNEW_LOGGING bug (core dumped) in saslauthz.c slap_sasl_check_authz()
Don't enable NEW_LOGGING. That code is considered dead
(and already has been removed from HEAD and 2.3).
At 05:03 PM 5/17/2005, nop@mail.primorye.ru wrote:
>Full_Name: Artyom A. Konovalenko
>Version: 2.2.26
>OS: FreeBSD 5.3
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (82.162.161.178)
>
>
>When compiled with -DLDAP_DEBUG and -DNEW_LOGGING core dumped while authorizing
>sasl.
>Invalid format string for __vfprintf, used %s instead of %d, argument 2.
>
>Look to code:
>servers/slapd/saslauthz.c:839
>#ifdef NEW_LOGGING
> LDAP_LOG( TRANSPORT, RESULTS,
> "slap_sasl_check_authz: %s check returning %s\n",
> ad->ad_cname.bv_val, rc, 0 );
>#else
> Debug( LDAP_DEBUG_TRACE,
> "<==slap_sasl_check_authz: %s check returning %d\n",
> ad->ad_cname.bv_val, rc, 0);
>#endif