[Koha-bugs] [Bug 4256] New: auth_by_bind doesn't fetch user LDAP entry breaking replicate

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Tue Feb 23 21:13:40 CET 2010


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4256

           Summary: auth_by_bind doesn't fetch user LDAP entry breaking
                    replicate
           Product: Koha
           Version: HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Authentication
        AssignedTo: chris at bigballofwax.co.nz
        ReportedBy: dpavlin at rot13.org
   Estimated Hours: 0.0
 Change sponsored?: ---


Created an attachment (id=1679)
 --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1679)
fix for combination of auth_by_bind and replicate LDAP options

Latest git master is broken when using combination of auth_by_bind and
replicate because code never fetches user's LDAP entry via search, so replicate
dies with

Can't call method "exists" on an undefined value at
/usr/share/koha/lib/C4/Auth_with_ldap.pm line 191, <DATA> line 253.

Attached patch fixes it, along with fix for mungling of mapping (I'm not quite
sure that code as-is works for anyone).


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list