]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
ITS#6111 connection_state_closing() -> connection_valid()
[openldap] / servers / slapd / main.c
index b22e8b70f139c65beb1c76d52e92689e134126ce..64d1876dc747acac227ebdfe235662b0c51ab2d5 100644 (file)
@@ -699,6 +699,7 @@ unhandled_option:;
        Debug( LDAP_DEBUG_ANY, "%s", Versionstr, 0, 0 );
 
        global_host = ldap_pvt_get_fqdn( NULL );
+       ber_str2bv( global_host, 0, 0, &global_host_bv );
 
        if( check == CHECK_NONE && slapd_daemon_init( urls ) != 0 ) {
                rc = 1;