]> git.sur5r.net Git - openldap/commitdiff
TLS is configured after listener creation
authorKurt Zeilenga <kurt@openldap.org>
Wed, 12 Oct 2005 16:58:22 +0000 (16:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 12 Oct 2005 16:58:22 +0000 (16:58 +0000)
servers/slapd/daemon.c

index 037f360240aa572a9c6efb7614c51ead4b493fb4..c50db15639744a17a123834ea1589232178fcf14 100644 (file)
@@ -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;
        }