mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix layer installation
This commit is contained in:
parent
5a32ff0603
commit
b285814f8e
1 changed files with 3 additions and 3 deletions
|
|
@ -466,8 +466,6 @@ int slap_sasl_bind(
|
|||
realm ? realm : "",
|
||||
(unsigned long) ( ssf ? *ssf : 0 ) );
|
||||
|
||||
*ssfp = ssf ? *ssf : 0;
|
||||
|
||||
rc = LDAP_SUCCESS;
|
||||
|
||||
if( username == NULL || (
|
||||
|
|
@ -538,7 +536,9 @@ int slap_sasl_bind(
|
|||
}
|
||||
|
||||
if( rc == LDAP_SUCCESS ) {
|
||||
if( ssf ) {
|
||||
*ssfp = ssf ? *ssf : 0;
|
||||
|
||||
if( *ssfp ) {
|
||||
ldap_pvt_thread_mutex_lock( &conn->c_mutex );
|
||||
conn->c_sasl_layers++;
|
||||
ldap_pvt_thread_mutex_unlock( &conn->c_mutex );
|
||||
|
|
|
|||
Loading…
Reference in a new issue