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;
}