[Bug 18953] New: Cannot use internal login after ldap failure
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18953 Bug ID: 18953 Summary: Cannot use internal login after ldap failure Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Authentication Assignee: koha-bugs@lists.koha-community.org Reporter: philippe.blouin@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: dpavlin@rot13.org When using LDAP (or cas or shiboleth), if the login fails using that method, the system doesn't check the internal user/pw anymore. It just fails the login. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18953 --- Comment #1 from Blou <philippe.blouin@inlibro.com> --- Created attachment 65091 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65091&action=edit Bug 18953 - Failure on alternate methods of login prevents validating values in DB Normally, when failing to log using LDAP (because the user doesn't exist there, for example), the system will then check the credentials directly in the database. Recent changes in the code prevent that: a failure in LDAP will prevent internal credentials to be checked. This would also happen using CAS or Shibboleth. TO reproduce, you need to enable any of the method above, then try to connect using credentials that should succeed based on the info in your borrowers DB table but fail with the given method. Then apply the patch and try again. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18953 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff CC| |francois.charbonnier@inlibr | |o.com, | |philippe.blouin@inlibro.com Priority|P5 - low |P3 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18953 Jonathan Field <jonathan.field@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.field@ptfs-europe. | |com --- Comment #2 from Jonathan Field <jonathan.field@ptfs-europe.com> --- Hi, The patch won't apply. Looks like it needs a rebase as some other code has been added to Auth.pm in the meantime. If you can do that I can sign it off as we have a set-up just like this with LDAP running. Thanks -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18953 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=18880 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Is this a duplicate of bug 18880? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18953 --- Comment #4 from Jonathan Field <jonathan.field@ptfs-europe.com> --- You're absolutely correct, it is a duplicate. Well spotted! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18953 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|Needs Signoff |RESOLVED --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- *** This bug has been marked as a duplicate of bug 18880 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org