Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
854c193f
Unverified
Commit
854c193f
authored
Dec 07, 2020
by
IKEDA Soji
Committed by
GitHub
Dec 07, 2020
Browse files
Merge pull request #1045 from racke/pr/ldap-logerror by racke
Add actual error to the log if connection to LDAP server fails.
parents
710427cc
bb2f5d2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/DatabaseDriver/LDAP.pm
View file @
854c193f
...
...
@@ -121,8 +121,8 @@ sub _connect {
$self
->
{
_error_string
}
=
$EVAL_ERROR
;
unless
(
$connection
)
{
$log
->
syslog
('
err
',
'
Unable to connect to the LDAP server %s
',
$self
->
{
host
});
$log
->
syslog
('
err
',
'
Unable to connect to the LDAP server
%s:
%s
',
$self
->
{
host
}
,
$self
->
{
_error_string
}
);
return
undef
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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