[Koha-bugs] [Bug 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 20 22:50:48 CET 2014


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

Frédérick Capovilla <fcapovilla at live.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #1 from Frédérick Capovilla <fcapovilla at live.ca> ---
To test this feature, you must have a LDAP server and configure it in your
"koha-conf.xml" with at least mappings for the cardnumber and firstname fields.
Make sure all required fields are mapped.

Test case 1 :
* Add a borrower with the cardnumber "12345" and the name "Test user" on your
LDAP server. Make sure this cardnumber doesn't exist in your Koha database.
* Activate the "SearchCardnumberWithLDAP" system preference.
* Go to the "Circulation" section and search for the "12345" cardnumber to do a
checkout.
* You should be redirected to the circulation page for the "Test user"
borrower, which means the LDAP user was successfully added to the local
database.
* Modify the "12345" user on your LDAP server. For example, change its name to
"Bob".
* Go to the "Circulation" section and search for the "12345" cardnumber again.
* The user's name should now be "Bob" on the circulation page.

Test case 2 :
* Disable the "SearchCardnumberWithLDAP" system preference.
* Modify the "12345" user on your LDAP server. For example, change its name to
"Lisa".
* Go to the "Circulation" section and search for the "12345" cardnumber again.
* The user's name should still be "Bob" because the account was not updated
this time.
* Add a borrower with the cardnumber "123456" and the name "Test user 2" on
your LDAP server. Make sure this cardnumber doesn't exist in your Koha
database.
* Go to the "Circulation" section and search for the "123456" cardnumber to do
a checkout.
* "No patron matched '123456'" should be shown.

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


More information about the Koha-bugs mailing list