From 2890a5d035593d8d14ae244eb7a7db63a7101a4a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 12 Oct 2005 16:58:22 +0000 Subject: [PATCH] TLS is configured after listener creation --- servers/slapd/daemon.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 037f360240..c50db15639 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -838,13 +838,6 @@ static int slap_open_listener( #else l.sl_is_tls = ldap_pvt_url_scheme2tls( lud->lud_scheme ); - if ( l.sl_is_tls && !slap_tls_ctx ) { - Debug( LDAP_DEBUG_ANY, - "daemon: TLS not configured (%s)\n", - url, 0, 0 ); - ldap_free_urldesc( lud ); - return -1; - } if(! lud->lud_port ) { lud->lud_port = l.sl_is_tls ? LDAPS_PORT : LDAP_PORT; } -- 2.39.5