[Koha-bugs] [Bug 22738] Software Error after LDAP Authentication
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 26 10:18:06 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22738
--- Comment #21 from morsch at iza.org ---
I used to fix it by myself. For those of you who are interested in the working
ldap config, here it is:
<!-- LDAP SERVER (optional) -->
<ldapserver id="ldap1.xxx.org">
<hostname>ldap://xx.xxx.80.5</hostname>
<base>dc=xx,dc=xx</base>
<user>cn=admin,dc=xx,dc=xx</user>
<pass>xxxxxxxxx</pass>
<replicate>1</replicate>
<update>1</update>
<auth_by_bind>0</auth_by_bind>
<anonymous_bind>0</anonymous_bind>
<principal_name>uid=%s,dc=xx,dc=xx</principal_name>
<update_password>1</update_password>
<mapping>
<firstname is="giveNname" ></firstname>
<surname is="sn" ></surname>
<address is="postalAddress" ></address>
<city is="l" >Bonn</city>
<zipcode is="postalCode" ></zipcode>
<branchcode is="branch" >BIB</branchcode>
<userid is="uid" ></userid>
<password is="userPassword" ></password>
<email is="mail" ></email>
<categorycode is="employeeType" >MA</categorycode>
<phone is="telephoneNumber"></phone>
</mapping>
</ldapserver>
Keep in mind to replace all individual settings, like IP, categorycode etc. It
seems the problem was the former missing "principal_name" setting. Furthermore
you need to check the case sensitivity of the mapping attributes from ldap. You
need to type "giveNname" instead of "givenname".
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list