From 48b8970dad7ca5fad8a88fb98c0ea65b0616a820 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 8 Dec 2009 19:49:15 +0000 Subject: [PATCH] issue a useful error message --- servers/slapd/back-ldap/config.c | 5 +++++ 1 file changed, 5 insertions(+) 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; } } -- 2.39.5