Commit e2a6d5ba authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#6711 use idassert TLS conf for priv connection if aclbind not set

parent 8f0e85ef
......@@ -714,7 +714,12 @@ ldap_back_prepare_conn( ldapconn_t *lc, Operation *op, SlapReply *rs, ldap_back_
#ifdef HAVE_TLS
if ( LDAP_BACK_CONN_ISPRIV( lc ) ) {
sb = &li->li_acl;
/* See "rationale:" comment in ldap_back_getconn() */
if ( BER_BVISNULL( &li->li_acl_authcDN ) &&
!BER_BVISNULL( &li->li_idassert_authcDN ) )
sb = &li->li_idassert.si_bc;
else
sb = &li->li_acl;
} else if ( LDAP_BACK_CONN_ISIDASSERT( lc ) ) {
sb = &li->li_idassert.si_bc;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment