[Koha-bugs] [Bug 12831] local only logins should still work when ldap authentication is enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 27 18:47:38 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12831

--- Comment #24 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 34002
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34002&action=edit
Bug 12831: (RM followup) regression test

checkpw_ldap should return 0 if it is not an anonymous bind, and authentication
fails. This is better explained on the bug comments. This is just a regression
test for the revised functionality.

To test:
- Run
  $ prove t/db_dependent/Auth_with_ldap.t
=> FAIL: it fails because C4::Auth_with_ldap doesn't match the expected
behaviour
- Apply the bugfix from Martin
- Run
  $ prove t/db_dependent/Auth_with_ldap.t
=> SUCCESS: tests now pass.

Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list