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
Sympa
Commits
bb2f5d2a
Unverified
Commit
bb2f5d2a
authored
Nov 29, 2020
by
Stefan Hornburg (Racke)
Browse files
Add actual error to the log if connection to LDAP server fails.
parent
36739f1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/DatabaseDriver/LDAP.pm
View file @
bb2f5d2a
...
...
@@ -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
.
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