mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
ITS#6510 ignore referrals on Bind response
This commit is contained in:
parent
81469d0ff1
commit
e5302c2431
1 changed files with 3 additions and 2 deletions
|
|
@ -747,8 +747,9 @@ nextresp2:
|
|||
}
|
||||
|
||||
/* Do we need to check for referrals? */
|
||||
if ( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) ||
|
||||
lr->lr_parent != NULL )
|
||||
if ( tag != LDAP_RES_BIND &&
|
||||
( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) ||
|
||||
lr->lr_parent != NULL ))
|
||||
{
|
||||
char **refs = NULL;
|
||||
ber_len_t len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue