[Koha-bugs] [Bug 36161] ISLDI AuthenticatePatron broken when LDAP enabled and auth falls back to internal connection
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 23 20:56:50 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36161
--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
To recreate:
1 - Enable ILSDI:
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?tab=web_services#web_services_ILS-DI
2 - Enable ldap (not for real) by adding/editing to koha-conf:
<useldapserver>1</useldapserver><!-- see C4::Auth_with_ldap for extra configs
you must add if you want to turn this on -->
<ldapserver id="ldapserver">
<hostname>ldaps://nha.dog</hostname>
<base>belong.to.us</base>
<mapping>
<userid is="SAMAccountname"></userid>
</mapping>
</ldapserver>
3 - Try to authenticate a patron (generate your correct credentials:
http://localhost:8080/cgi-bin/koha/ilsdi.pl?service=AuthenticatePatron&username=edna&password=acosta
4 - Can't call method "update_lastseen" on an undefined value at
/kohadevbox/koha/C4/ILSDI/Services.pm line 400
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list