From: Ondřej Kuzník Date: Mon, 14 Apr 2025 10:11:03 +0000 (+0100) Subject: ITS#10323 Apply olcBkLloadStartTLS runtime changes directly X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=948400af2b33ea29caf9beceac6dc42c4a21bea8;p=thirdparty%2Fopenldap.git ITS#10323 Apply olcBkLloadStartTLS runtime changes directly --- diff --git a/servers/lloadd/config.c b/servers/lloadd/config.c index 4fbb66cca6..eb41d9d7f9 100644 --- a/servers/lloadd/config.c +++ b/servers/lloadd/config.c @@ -3811,6 +3811,10 @@ backend_cf_gen( ConfigArgs *c ) } #endif /* ! HAVE_TLS */ b->b_tls_conf = tlskey[i].mask; + if ( b->b_tls != LLOAD_LDAPS ) { + b->b_tls = b->b_tls_conf; + flag = LLOAD_BACKEND_MOD_OTHER; + } } break; case CFG_WEIGHT: b->b_weight = c->value_uint;