https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6979
Alex Arnaud <alex.arn...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #46654|0 |1 is obsolete| | --- Comment #19 from Alex Arnaud <alex.arn...@biblibre.com> --- Created attachment 57480 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57480&action=edit Bug #6979 I removed several lines of code in the checkpw_ldap subroutine where LDAP authentication takes place, in the "else" part of the conditional that checks for the auth_by_bind config parameter. I added several lines to check whether the user can log in to LDAP using their DN and the password supplied in the login form. If they are able to bind, login contiues as normal and the LDAP attributes can be harvested as normal if the update options are turned on. The routine that was in place was failing because it was trying to check against a non-existent LDAP entry attribute called 'userpassword'. Instead of checking against a 'userpassword' attribute, the routine really should be checking to make sure the user can actually bind to LDAP. That's what I set up, and it is a safer way to test authentication against LDAP. -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug. _______________________________________________ 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/