Item12256: Foswiki breaks, cause LdapApacheLogin needs fromUtf8 which is deleted in LdapContrib
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: LdapContrib
Branches: trunk
--
BertoldAltaner - 20 Nov 2012
Hi,
Foswiki breaks with update
LdapContrib Version 5.00, cause
LdapApacheLogin needs "sub fromUtf8" which is deleted in
LdapContrib
Here's the hotfix:
--- lib/Foswiki/LoginManager/LdapApacheLogin.pm (revision 16063)
+++ lib/Foswiki/LoginManager/LdapApacheLogin.pm (working copy)
@@ -76,7 +76,7 @@
$authUser =~ s/^\s+//o;
$authUser =~ s/\s+$//o;
- $authUser = $this->{ldap}->fromUtf8($authUser);
+ $authUser = $this->{ldap}->toSiteCharSet($authUser);
A 5.01 for both - contrib and plugin - will be available tomorrow.
--
MichaelDaum - 20 Nov 2012
When installing 5.01 and get this error:
Use of uninitialized value $tweb in numeric gt (>) at /var/www/foswiki/lib/Foswiki/Configure/Package.pm line 1346, <$fh> line 147.
--
BertoldAltaner - 21 Nov 2012
That's an error in
Configure. Will work around this... Please try again and reopen this report as required.
--
MichaelDaum - 21 Nov 2012
Now it works! Thanks a lot!
--
BertoldAltaner - 21 Nov 2012
Test
--
GuruprasadIyer - 13 Jul 2015