mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix ITS#1991 - referrals with sarch base == target (wasn't sure at first,
but see diff -r1.6 -r1.7 and it's obvious.)
This commit is contained in:
parent
20ef1d9fe4
commit
4d36fd5a3e
@ -81,7 +81,7 @@ static char * referral_dn_muck(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if( dn_match( &nbaseDN, &nrefDN ) == 0 ) {
|
||||
if( dn_match( &nbaseDN, &nrefDN ) ) {
|
||||
ch_free( nrefDN.bv_val );
|
||||
ch_free( nbaseDN.bv_val );
|
||||
return ntargetDN.bv_val;
|
||||
|
Loading…
Reference in New Issue
Block a user