]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10323 Apply olcBkLloadStartTLS runtime changes directly
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 14 Apr 2025 10:11:03 +0000 (11:11 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 23 Apr 2025 21:17:51 +0000 (21:17 +0000)
servers/lloadd/config.c

index 4fbb66cca699388cd5fe3bae4155cc15f03b3cb5..eb41d9d7f91440b522acdb5d36a1fae8d01067a7 100644 (file)
@@ -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;