don't bailout in case of insufficientAccess (ITS#5816)

This commit is contained in:
Pierangelo Masarati 2008-11-18 01:29:34 +00:00
parent 5cf95c5b30
commit 2f32c29e4a

View File

@ -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 {