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

Julian Maurice <julian.maur...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian.maur...@biblibre.com

--- Comment #21 from Julian Maurice <julian.maur...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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