mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
don't bailout in case of insufficientAccess (ITS#5816)
This commit is contained in:
parent
5cf95c5b30
commit
2f32c29e4a
1 changed files with 6 additions and 1 deletions
|
|
@ -360,7 +360,12 @@ retry:
|
|||
entry_clean( &ent );
|
||||
}
|
||||
ldap_msgfree( res );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
switch ( rc ) {
|
||||
case LDAP_SUCCESS:
|
||||
case LDAP_INSUFFICIENT_ACCESS:
|
||||
break;
|
||||
|
||||
default:
|
||||
if ( rc == LDAP_UNAVAILABLE ) {
|
||||
rc = rs->sr_err = LDAP_OTHER;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue