Skip to content
Snippets Groups Projects
Commit 7537abfb authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix referral handling bug

parent a26612bc
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,8 @@ ldbm_back_search(
/* deref dn and get entry with reader lock */
e = deref_dn_r( be, nbase, &err, &matched, &text );
if( err == LDAP_NO_SUCH_OBJECT ) err = LDAP_REFERRAL;
} else {
/* get entry with reader lock */
e = dn2entry_r( be, nbase, &matched );
......@@ -97,6 +99,7 @@ ldbm_back_search(
: NULL;
cache_return_entry_r( &li->li_cache, matched );
} else {
refs = default_referral;
}
......
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