bb772e8 Use infinite timeout when using LDAP+start-TLS

Authored and Committed by antorres 2 years ago
    Use infinite timeout when using LDAP+start-TLS
    
    This will ensure that the TLS connection to the LDAP server will complete
    before starting FreeRADIUS, as it forces libldap to use a blocking socket during
    the process. Infinite timeout is the OpenLDAP default.
    Avoids this: https://git.openldap.org/openldap/openldap/-/blob/87ffc60006298069a5a044b8e63dab27a61d3fdf/libraries/libldap/tls2.c#L1134
    
    Related: #1983063
    Signed-off-by: Antonio Torres <antorres@redhat.com>
    
        
file modified
+7 -1