From 861b13e92e9a2925f0a92aa6a1d9c6c1a460b303 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Fri, 8 Feb 2008 21:51:41 +0000 Subject: [PATCH] ITS#5263 --- CHANGES | 1 + libraries/libldap/sasl.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 3345e0d14a..93b833cb9c 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log OpenLDAP 2.4.8 Engineering Fixed ldapmodify verbose logging (ITS#5247) + Fixed libldap ldap_parse_sasl_bind_result (ITS#5263) Fixed slapd include handling (ITS#5276) Fixed slapd non-atomic signal variables (ITS#5248) Fixed slapd-ldif delete (ITS#5265) diff --git a/libraries/libldap/sasl.c b/libraries/libldap/sasl.c index 0b02065c35..c7b18ac91d 100644 --- a/libraries/libldap/sasl.c +++ b/libraries/libldap/sasl.c @@ -201,7 +201,7 @@ ldap_sasl_bind_s( rc = ldap_parse_sasl_bind_result( ld, result, &scredp, 0 ); } - if ( rc != LDAP_SUCCESS && rc != LDAP_SASL_BIND_IN_PROGRESS ) { + if ( rc != LDAP_SUCCESS ) { ldap_msgfree( result ); return( rc ); } @@ -347,7 +347,7 @@ ldap_parse_sasl_bind_result( ldap_msgfree( res ); } - return( ld->ld_errno ); + return( LDAP_SUCCESS ); } int -- 2.39.5