From: Pierangelo Masarati Date: Tue, 8 Dec 2009 19:49:15 +0000 (+0000) Subject: issue a useful error message X-Git-Tag: ACLCHECK_0~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48b8970dad7ca5fad8a88fb98c0ea65b0616a820;p=openldap issue a useful error message --- diff --git a/servers/slapd/back-ldap/config.c b/servers/slapd/back-ldap/config.c index 5bde983dd5..b81595dfab 100644 --- a/servers/slapd/back-ldap/config.c +++ b/servers/slapd/back-ldap/config.c @@ -740,6 +740,11 @@ slap_idassert_parse( ConfigArgs *c, slap_idassert_t *si ) } } else if ( bindconf_parse( c->argv[ i ], &si->si_bc ) ) { + snprintf( c->cr_msg, sizeof( c->cr_msg ), + "\"idassert-bind \": " + "unable to parse field \"%s\"", + c->argv[ i ] ); + Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg, 0 ); return 1; } }