Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/Connector/Builtin/Authentication/LDAP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ sub _check_user_password {
}
}

# purge last binding information to enforce use of search bind user
# when indirect mode is enabled
$self->_purge_bind() if $self->indirect();

if(!defined $userdn) {
$self->log()->warn('Authentication failed');
return 0;
Expand Down