mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#6711 use idassert TLS conf for priv connection if aclbind not set
This commit is contained in:
parent
c9e49778f4
commit
aec5adac17
1 changed files with 6 additions and 1 deletions
|
|
@ -710,7 +710,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue