]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
implement search timeout when the remote server does not respond in the specified...
[openldap] / servers / slapd / main.c
index 994f9fcfa933c663d6f7dace9eeb927d7df48a6b..1b653c6d51caf6d465ec458cd3769186e15d7ee5 100644 (file)
@@ -830,6 +830,12 @@ unhandled_option:;
        }
 #endif
 
+#ifdef HAVE_CYRUS_SASL
+       if( global_host == NULL ) {
+               global_host = ldap_pvt_get_fqdn( NULL );
+       }
+#endif
+
        (void) SIGNAL( LDAP_SIGUSR1, slap_sig_wake );
        (void) SIGNAL( LDAP_SIGUSR2, slap_sig_shutdown );