]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
re-fix previus commit the other way 'round (rids are < 1000)
[openldap] / servers / slapd / main.c
index 994f9fcfa933c663d6f7dace9eeb927d7df48a6b..b18b8e0e07fd1c11cfff66556160bab076c48ea5 100644 (file)
@@ -697,6 +697,8 @@ unhandled_option:;
 
        Debug( LDAP_DEBUG_ANY, "%s", Versionstr, 0, 0 );
 
+       global_host = ldap_pvt_get_fqdn( NULL );
+
        if( check == CHECK_NONE && slapd_daemon_init( urls ) != 0 ) {
                rc = 1;
                SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 16 );