From a67546e640b7fc996636fd3ff10b3492fa3d5e2e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 10 Oct 2000 01:37:07 +0000 Subject: [PATCH] Add more detail to "configured to hold" message --- servers/slapd/tools/slapadd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/servers/slapd/tools/slapadd.c b/servers/slapd/tools/slapadd.c index 5762364904..8ce9f1a534 100644 --- a/servers/slapd/tools/slapadd.c +++ b/servers/slapd/tools/slapadd.c @@ -79,9 +79,11 @@ main( int argc, char **argv ) /* check backend */ if( select_backend( e->e_ndn ) != be ) { - fprintf( stderr, "%s: database not configured to " + fprintf( stderr, "%s: database (%s) not configured to " "hold dn=\"%s\" (line=%d)\n", - progname, e->e_dn, lineno ); + progname, + be ? be->be_suffix[0] : "", + e->e_dn, lineno ); rc = EXIT_FAILURE; entry_free( e ); if( continuemode ) continue; -- 2.39.5