From: Kurt Zeilenga Date: Wed, 16 May 2001 19:19:16 +0000 (+0000) Subject: Improve error message when parent is referral or not present X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1408 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ce8fcda8c463e9f1ed0401ac2cc9683c7ae745f9;p=openldap Improve error message when parent is referral or not present --- diff --git a/servers/slapd/back-ldbm/add.c b/servers/slapd/back-ldbm/add.c index b7fdb1c816..752c1ab420 100644 --- a/servers/slapd/back-ldbm/add.c +++ b/servers/slapd/back-ldbm/add.c @@ -113,8 +113,9 @@ ldbm_back_add( #endif - send_ldap_result( conn, op, LDAP_REFERRAL, - matched_dn, NULL, refs, NULL ); + send_ldap_result( conn, op, LDAP_REFERRAL, matched_dn, + refs == NULL ? "parent does not exist" : "parent is referral", + refs, NULL ); if( matched != NULL ) { ber_bvecfree( refs );