[Koha-bugs] [Bug 10384] Software error when LDAP connexion fails
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 31 21:25:11 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10384
--- Comment #2 from Galen Charlton <gmcharlt at gmail.com> ---
Comment on attachment 18540
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18540
Proposed patch
Review of attachment 18540:
--> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10384&attachment=18540)
-----------------------------------------------------------------
::: C4/Auth_with_ldap.pm
@@ +103,5 @@
> my ($dbh, $userid, $password) = @_;
> my @hosts = split(',', $prefhost);
> my $db = Net::LDAP->new(\@hosts);
> + unless ( $db ) {
> + $debug and warn "LDAP connexion failed";
I think this might be better as a plain warn -- being unable to connect to the
LDAP server is an operational problem that should be logged.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list