From 91ed170c29b4de360ba2a70c315dcee5c014248a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 8 Sep 2009 08:15:08 +0000 Subject: [PATCH] don't open if no configuration is present (ITS#6279) --- contrib/slapd-modules/autogroup/autogroup.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.5