]> 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>
Tue, 6 May 2025 15:42:20 +0000 (15:42 +0000)
servers/lloadd/config.c

index 922f0f3f735b37696662d340a3f37d4b2683a0c2..1c1b5889cd72f713e5e4605431517faa07e3c8cc 100644 (file)
@@ -3689,6 +3689,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;
         default:
             rc = 1;