From: Pierangelo Masarati Date: Fri, 19 Aug 2005 00:30:10 +0000 (+0000) Subject: couldn't slapcat with ACIs in slapd.conf :) X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~658 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=725423ef4fb58ebd9698208b2bb7439cebef8d09;p=openldap couldn't slapcat with ACIs in slapd.conf :) --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 5c273c605d..c6418c9142 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -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 ) {