https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22738
--- Comment #3 from [email protected] --- First, Thank you all for your response. I checked nearly anything i guess. In the LDAP configuration i played with any setting i could do. Disabled replication, update, bind and/or mapping itself. But still the same issue. I found something in a forum that mapping needs to be enabled for each column/attribute of the borrowers table where NULL is not allowed. Even if i set those values to true the issue still exists. I also disabled the setting that a patron is allowed to change the password via opac, issue still exists. Like Katrin said, i have checked the category code and tried to send it as default value within the LDAP Config: <categorycode is="employeeType" >MA</categorycode> The complete LDAP Config looks like this: <useldapserver>1</useldapserver> <!-- LDAP SERVER (optional) --> <ldapserver id="xx.xx.org"> <hostname>ldap://xx.xxx.80.5</hostname> <base>dc=xx,dc=org</base> <user>cn=admin,dc=xx,dc=org</user> <!-- DN, if not anonymous --> <pass>xxxxxxxx</pass> <!-- password, if not anonymous --> <replicate>0</replicate> <!-- add new users from LDAP to Koha database --> <update>0</update> <!-- update existing users in Koha database --> <auth_by_bind>0</auth_by_bind> <!-- set to 1 to authenticate by binding instead of password comparison, e.g., to use Active Directory --> <anonymous_bind>0</anonymous_bind> <!-- set to 1 if users should be searched using an anonymous bind, even when auth_by_bind is on --> <update_password>0</update_password> <!-- set to 0 if you don't want LDAP passwords synced to the local database --> <mapping> <!-- match koha SQL field names to your LDAP record field names --> <firstname is="givenname" ></firstname> <surname is="sn" ></surname> <address is="postaladdress" >53113</address> <city is="l" >Bonn</city> <zipcode is="postalcode" >53113</zipcode> <branchcode is="" >BIB</branchcode> <userid is="uid" ></userid> <password is="userpassword" ></password> <cardnumber is="employeeNumber" ></cardnumber> <email is="mail" ></email> <categorycode is="employeeType" >MA</categorycode> <phone is="telephonenumber"></phone> <dateenrolled is="" >2019-04-17</dateenrolled> <dateexpiry is="" >4749-04-17</dateexpiry> </mapping> </ldapserver> I nearly tried any combination of the mapping fields and also of the config parameter (0 or 1), but nothing worked for me. A question regarding sth Katrin asks, where do i check if i am adding a patron account on first log in with LDAP? Thanks again for all your help and responses. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
