From: Pierangelo Masarati Date: Tue, 8 Sep 2009 08:15:08 +0000 (+0000) Subject: don't open if no configuration is present (ITS#6279) X-Git-Tag: ACLCHECK_0~223 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=91ed170c29b4de360ba2a70c315dcee5c014248a;p=openldap don't open if no configuration is present (ITS#6279) --- diff --git a/contrib/slapd-modules/autogroup/autogroup.c b/contrib/slapd-modules/autogroup/autogroup.c index f7b46b8b52..64e4392b7a 100644 --- a/contrib/slapd-modules/autogroup/autogroup.c +++ b/contrib/slapd-modules/autogroup/autogroup.c @@ -1450,6 +1450,10 @@ autogroup_db_open( Debug( LDAP_DEBUG_TRACE, "==> autogroup_db_open\n", 0, 0, 0); + if ( agi == NULL ) { + return 0; + } + connection_fake_init( &conn, &opbuf, thrctx ); op = &opbuf.ob_op;