mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
allow addiion of suffix entry when default referral is defined (ITS#4310)
This commit is contained in:
parent
d1693d4a07
commit
d384ab5ad9
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ dn2entry_retry:
|
|||
|
||||
bdb_cache_return_entry_r (bdb->bi_dbenv, &bdb->bi_cache, e, &lock);
|
||||
e = NULL;
|
||||
} else if ( default_referral != NULL ) {
|
||||
} else if ( !be_issuffix( op->o_bd, &op->o_req_ndn) && default_referral != NULL ) {
|
||||
rc = LDAP_OTHER;
|
||||
rs->sr_ref = referral_rewrite( default_referral,
|
||||
NULL, &op->o_req_dn, LDAP_SCOPE_DEFAULT );
|
||||
|
|
|
|||
Loading…
Reference in a new issue