From: Pierangelo Masarati Date: Tue, 4 Aug 2009 23:45:42 +0000 (+0000) Subject: log in case of failure (FIXME: should those logs be at ANY level?) X-Git-Tag: ACLCHECK_0~358 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9ebc168a8a71d9c210d197b40179e4dab3a48a7f;p=openldap log in case of failure (FIXME: should those logs be at ANY level?) --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index c40825d836..3190e95341 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -3254,6 +3254,10 @@ pc_cf_gen( ConfigArgs *c ) ct = config_find_keyword( cm->db.bd_info->bi_cf_ocs->co_table, c ); if ( ct == NULL ) { + snprintf( c->cr_msg, sizeof( c->cr_msg ), + "private database does not recognize specific option '%s'", + c->argv[ 0 ] ); + Debug( LDAP_DEBUG_CONFIG, "%s: %s.\n", c->log, c->cr_msg, 0 ); rc = 1; } else {