]> git.sur5r.net Git - openldap/commitdiff
load overlays also with tools
authorPierangelo Masarati <ando@openldap.org>
Tue, 6 Apr 2004 12:22:29 +0000 (12:22 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 6 Apr 2004 12:22:29 +0000 (12:22 +0000)
servers/slapd/slapcommon.c

index 996536b4f87b1bc7518be4d5bcff539316018cc3..4944272d911a73c9924d788d1c29a7e1848a16d9 100644 (file)
@@ -302,6 +302,11 @@ slap_tool_init(
                exit( EXIT_FAILURE );
        }
 
+       if ( overlay_init() ) {
+               fprintf( stderr, "%s: overlay_init failed!\n", progname );
+               exit( EXIT_FAILURE );
+       }
+
        rc = read_config( conffile, 0 );
 
        if ( rc != 0 ) {