Skip to content
Snippets Groups Projects
Commit d384ab5a authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

allow addiion of suffix entry when default referral is defined (ITS#4310)

parent d1693d4a
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment