[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 11:52:53 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12831
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julian.maurice at biblibre.com
--- Comment #21 from Julian Maurice <julian.maurice at biblibre.com> ---
Here's the test plan I followed:
1. Create a LDAP user (uid=julian, userpassword=foobar)
2. Create a Koha user (userid=julian, password=julian)
3. Create another Koha (local) user (userid=123, password=123)
3. Enable LDAP in $KOHA_CONF with auth_by_bind = 1, and anonymous_bind = 0
4. Update source code to current master
5. Login with julian/foobar => success => OK
6. Login with julian/julian => failure => OK
7. Login with 123/123 => failure => NOT OK
8. Set anonymous_bind = 1 in $KOHA_CONF
9. Login with julian/foobar => success => OK
10. Login with julian/julian => failure => OK
10. Login with 123/123 => success => OK
11. So, here I can confirm the problem for local login when auth_by_bind = 1
and anonymous_bind = 1, let's apply the patch...
12. Apply the patch
13. Reset anonymous_bind to 0
14. Login with julian/foobar => success => OK
15. Login with julian/julian => success => ??
16. Login with 123/123 => success => OK
17. Set anonymous_bind to 1
18. Login with julian/foobar => success => OK
19. Login with julian/julian => failure => OK
20. Login with 123/123 => success => OK
So the patch fixes the problem, but allows LDAP users to login with their LDAP
password and their local password.
But this should be fixed by bug 9165, so I will QA this patch.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list