Register dn in session even if no UserDBLDAP selected

This commit is contained in:
Clément Oudot 2010-09-13 14:09:07 +00:00
parent a9ab38424d
commit 3304885bf0

View File

@ -39,6 +39,7 @@ sub authenticate {
# Set the dn unless done before
unless ( $self->{dn} ) {
my $tmp = $self->_subProcess(qw(_formateFilter _search));
$self->{sessionInfo}->{dn} = $self->{dn};
return $tmp if ($tmp);
}
return $self->ldap->userBind( $self->{dn}, password => $self->{password} );