Skip to content
Snippets Groups Projects
Commit e224920e authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#8427 Take late TLS configuration into account

parent 0832ec02
No related branches found
No related tags found
No related merge requests found
......@@ -942,6 +942,10 @@ slap_idassert_parse( ConfigArgs *c, slap_idassert_t *si )
}
bindconf_tls_defaults( &si->si_bc );
if ( si->si_bc.sb_tls_ctx ) {
ldap_pvt_tls_ctx_free( si->si_bc.sb_tls_ctx );
si->si_bc.sb_tls_ctx = NULL;
}
return 0;
}
......@@ -1746,6 +1750,10 @@ done_url:;
}
bindconf_tls_defaults( &li->li_tls );
}
if ( li->li_tls.sb_tls_ctx ) {
ldap_pvt_tls_ctx_free( li->li_tls.sb_tls_ctx );
li->li_tls.sb_tls_ctx = NULL;
}
break;
case LDAP_BACK_CFG_ACL_AUTHCDN:
......@@ -1805,6 +1813,10 @@ done_url:;
}
}
bindconf_tls_defaults( &li->li_acl );
if ( li->li_acl.sb_tls_ctx ) {
ldap_pvt_tls_ctx_free( li->li_acl.sb_tls_ctx );
li->li_acl.sb_tls_ctx = NULL;
}
break;
case LDAP_BACK_CFG_IDASSERT_MODE:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment