]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
Add search no-op support.
[openldap] / servers / slapd / main.c
index a2dfaf3ef235c47209a44c7cf033924480df67e3..53ccf4004767eb5ddae2d1dc302e5ad64165d870 100644 (file)
@@ -363,7 +363,7 @@ int main( int argc, char **argv )
                goto destroy;
        }
 
-       if ( schema_init( ) != 0 ) {
+       if ( slap_schema_init( ) != 0 ) {
 #ifdef NEW_LOGGING
                LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
                           "main: schema initialization error\n" ));
@@ -394,7 +394,7 @@ int main( int argc, char **argv )
                goto destroy;
        }
 
-       if ( schema_prep( ) != 0 ) {
+       if ( slap_schema_check( ) != 0 ) {
 #ifdef NEW_LOGGING
                LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
                           "main: schema prep error\n"));