]> git.sur5r.net Git - openldap/commitdiff
log in case of failure (FIXME: should those logs be at ANY level?)
authorPierangelo Masarati <ando@openldap.org>
Tue, 4 Aug 2009 23:45:42 +0000 (23:45 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 4 Aug 2009 23:45:42 +0000 (23:45 +0000)
servers/slapd/overlays/pcache.c

index c40825d8362c32a0291ce914ac808601bd603c99..3190e95341da471f5305658d87c65e57efa94704 100644 (file)
@@ -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 {