[Koha-bugs] [Bug 17215] Cardnumbers of patrons created using LDAP Replication not using autoMemberNum if configured

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 30 20:13:29 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17215

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Just pasting in from my koha-conf.xml to ease testing setup for anyone else:

  <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>ldap://ldap.forumsys.com/</hostname>
      <port>389</port>
      <base>dc=example,dc=com</base>
      <user>cn=read-only-admin,dc=example,dc=com</user>          <!-- DN, if
not anonymous -->
      <pass>password</pass>          <!-- password, if not anonymous -->
      <replicate>1</replicate>       <!-- add new users from LDAP to Koha
database -->
      <update>0</update>             <!-- update existing users in Koha
database -->
      <auth_by_bind>1</auth_by_bind> <!-- set to 1 to authenticate by binding
instead of password comparison, e.g., to use Active Directory -->
      <principal_name>uid=%s,dc=example,dc=com</principal_name>
      <mapping>                  <!-- match koha SQL field names to your LDAP
record field names -->
        <userid       is="uid" ></userid>
        <categorycode is="banana">YA</categorycode>
        <branchcode is="apple">LPL</branchcode>
 <!--       <password     is="userpassword"   ></password>-->
      </mapping>
    </ldapserver>

-- 
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