You are here: Foswiki>Tasks Web>Item1180 (03 Jul 2009, MichaelDaum)Edit Attach

Item1180: Missing require statement in LdapContrib

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: LdapContrib
Branches:
Reported By: SebastianSchawohl
Waiting For:
Last Change By: MichaelDaum
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

ItemTemplate edit

Summary Missing require statement in LdapContrib
ReportedBy SebastianSchawohl
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component LdapContrib
Priority Urgent
CurrentState Closed
WaitingFor
Checkins LdapContrib:88b11b7007ae
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 03 Jul 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy