Skip to content
Snippets Groups Projects
Commit e5302c24 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#6510 ignore referrals on Bind response

parent 81469d0f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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