Item1180: Missing require statement in LdapContrib
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
I use the
LdapContrib plugin in order to authenticate with my LDAP.
After renaiming to the correct
PasswordManager
I had another problem.
In function
fetchUsers
in
LdapPasswUser.pm
a
require
statement is missing.
Here is a diff in order to make it work :
Index: lib/Foswiki/Users/LdapPasswdUser.pm
===================================================================
--- lib/Foswiki/Users/LdapPasswdUser.pm (révision 2811)
+++ lib/Foswiki/Users/LdapPasswdUser.pm (copie de travail)
@@ -440,6 +440,7 @@
my $users = $this->{ldap}->getAllLoginNames();
print STDERR "fetchUsers=".join(',', @$users)."\n";
+ require Foswiki::ListIterator;
return new Foswiki::ListIterator($users);
}
Fixed.
--
MichaelDaum - 03 Jul 2009