https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18880

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.renvoize@ptfs-europe
                   |                            |.com, [email protected]

--- Comment #26 from Marcel de Rooy <[email protected]> ---
LDAP behavior should be reverted in the sense of:
-        return 0 if $retval == -1;                                  #
Incorrect password for LDAP login attempt
-        ($retval) and return ( $retval, $retcard, $retuserid );
-    }
Your patch falls back to internal for -1; it should NOT do that.
Internal fallback should be enabled only if retval == 0.

I am also wondering btw if (internal) patron lockout should overrule external
authentification like cas and shibboleth. If not, the code could be simpler.
Just noting that this discussion was not touched on bug 18314. From this
perspective you could even argue about allowing LDAP fallback.
Adding Martin and Tomas in CC for any feedback.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to