mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
referral is a legitimate result
This commit is contained in:
parent
72e8a15068
commit
71eda709c6
@ -1557,7 +1557,12 @@ done:
|
||||
ldap_get_option( ld, LDAP_OPT_RESULT_CODE, (void *)&rc );
|
||||
}
|
||||
|
||||
if ( rc != 0 ) {
|
||||
switch ( rc ) {
|
||||
case LDAP_SUCCESS:
|
||||
case LDAP_REFERRAL:
|
||||
break;
|
||||
|
||||
default:
|
||||
tool_perror( "ldap_result", rc, NULL, NULL, NULL, NULL );
|
||||
return( rc );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user