Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
462c57fc
Unverified
Commit
462c57fc
authored
Dec 23, 2020
by
Francesc Guasch
Committed by
GitHub
Dec 23, 2020
Browse files
fix(auth): continue with match if bind failed (#1468)
issue #1465
parent
a4dc86fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Auth/LDAP.pm
View file @
462c57fc
...
...
@@ -440,7 +440,8 @@ sub _login_bind {
for
my
$user
(
@user
)
{
my
$dn
=
$user
->
dn
;
$found
++
;
my
$ldap
=
_connect_ldap
(
$dn
,
$password
);
my
$ldap
;
eval
{
$ldap
=
_connect_ldap
(
$dn
,
$password
)
};
if
(
$ldap
)
{
$self
->
{
_auth
}
=
'
bind
';
$self
->
{
_ldap_entry
}
=
$user
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment