]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
reject registrations when back-monitor is not configured
[openldap] / servers / slapd / main.c
index 03b264513dd5a4fa86aeb0d883987f1125a6e963..81fbed49f46f3908b573d304eee901a0d1160e66 100644 (file)
@@ -631,6 +631,14 @@ unhandled_option:;
                }
        }
 
+       if ( glue_sub_init( ) != 0 ) {
+               Debug( LDAP_DEBUG_ANY,
+                   "subordinate config error\n",
+                   0, 0, 0 );
+
+               goto destroy;
+       }
+
        if ( slap_schema_check( ) != 0 ) {
                Debug( LDAP_DEBUG_ANY,
                    "schema prep error\n",