mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Improve error message when parent is referral or not present
This commit is contained in:
parent
5a26f9d617
commit
ce8fcda8c4
1 changed files with 3 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue