[Koha-bugs] [Bug 11807] Add categorycode conversions to LDAP authentication.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 4 04:57:26 CET 2016


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42105|0                           |1
        is obsolete|                            |

--- Comment #7 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 46183
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46183&action=edit
Bug 11807: (follow-up) remove date conversions

To test

1/ Apply both patches

2/ This patch lets you easily configure mappings for categorycode values.
These mapping will be used when updating the user's account after a successful
LDAP login.

Here is an example configuration :

<config>
  <ldapserver id="ldapserver>
    <mapping>
      <categorycode is="usertype">STU</categorycode>
      ...
    </mapping>

    <categorycode_mapping>
      <categorycode value="STU">STUDENT</categorycode>
      <categorycode value="EMP">EMPLOYEE</categorycode>
    </categorycode_mapping>
  </ldapserver>
</config>

3/ With this configuration, LDAP users with the usertype value "EMP" on the
LDAP server should have the "EMPLOYEE" categorycode in Koha.

Signed-off-by: Chris <chris at bigballofwax.co.nz>

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


More information about the Koha-bugs mailing list