]> git.sur5r.net Git - openldap/commitdiff
couldn't slapcat with ACIs in slapd.conf :)
authorPierangelo Masarati <ando@openldap.org>
Fri, 19 Aug 2005 00:30:10 +0000 (00:30 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 19 Aug 2005 00:30:10 +0000 (00:30 +0000)
servers/slapd/slapcommon.c

index 5c273c605d6d4dc1f5b13eeae25194c785b15deb..c6418c9142dab31c8ea1fe5238c7eb1c3843158d 100644 (file)
@@ -424,6 +424,13 @@ slap_tool_init(
                exit( EXIT_FAILURE );
        }
 
+#ifdef SLAP_DYNACL
+       if ( acl_init() ) {
+               fprintf( stderr, "%s: acl_init failed!\n", progname );
+               exit( EXIT_FAILURE );
+       }
+#endif /* SLAP_DYNACL */
+
        rc = read_config( conffile, confdir );
 
        if ( rc != 0 ) {