Skip Menu |

This queue is for tickets about the Apache-AuthLDAPBind CPAN distribution.

Report information
The Basics
Id: 30223
Status: new
Priority: 0/
Queue: Apache-AuthLDAPBind

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



Subject: [PATCH] missing $
The attached patches fixes the situation when the ldap server could not be connected. Currently this results in following error: [Tue Oct 23 18:11:13 2007] [error] Can't locate object method "log_reason" via package "r" (perhaps you forgot to load "r"?) at /usr/local/share/perl/5.8.8/Apache/AuthLDAPBind.pm line 110, <DATA> line 228. Regards, Slaven
Subject: AuthLDAPBind.diff
--- /usr/local/share/perl/5.8.8/Apache/AuthLDAPBind.pm 2005-12-08 00:36:31.000000000 +0100 +++ /home/slavenr/trash/AuthLDAPBind.pm 2007-10-23 18:12:04.000000000 +0200 @@ -107,7 +107,7 @@ sub handler { $r->uri); } else { - r->log_reason("user $username: LDAP error: $@", $r->uri); + $r->log_reason("user $username: LDAP error: $@", $r->uri); } return AUTH_REQUIRED; }