dear koha users, I have koha 2.2.5 working with ldap authentication on sles9, but seem to have a small issue: Every time an ldap user logs into koha, his/hers details are reset from the ldap server. So all updates through koha are lost. My ldap contains only limited info, and adding more details in koha is useless, this way. Is there a way to prevent this, or will I simple have to start adding ALL details in my corporate ldap server..? Regards, Mourik Jan
Mourik Jan wrote:
[...] Every time an ldap user logs into koha, his/hers details are reset from the ldap server. [...] Is there a way to prevent this, or will I simple have to start adding ALL details in my corporate ldap server..?
If this is using C4/Auth_with_ldap.pm (and I can't remember the current implementation), there's a section marked ### LOCAL ### Change the code below to match your own LDAP server. If you comment out the $borrower{...} lines in it, it should stop those from updating from LDAP. Hope that works for you, -- MJ Ray - personal email, see http://mjr.towers.org.uk/email.html Work: http://www.ttllp.co.uk/ irc.oftc.net/slef Jabber/SIP ask
Hi! Thanks for replying. If I understand things correctly, commenting out those lines would also mean that on *very first* login, the user details are no longer taken from ldap, right..? I would either like to: - Take the user details to be taken from ldap ONCE (on user creation) and then left alone (so they can be updated by the users themselves in koha) or - Disable user update details in the koha webinterface Because now users can update their details, but the system erases (overwrites) them at each login. Commenting out the "$borrower{...} lines" would probably not do what I want, right..? Regards! Mourik Jan MJ Ray wrote:
Mourik Jan wrote:
[...] Every time an ldap user logs into koha, his/hers details are reset from the ldap server. [...] Is there a way to prevent this, or will I simple have to start adding ALL details in my corporate ldap server..?
If this is using C4/Auth_with_ldap.pm (and I can't remember the current implementation), there's a section marked ### LOCAL ### Change the code below to match your own LDAP server.
If you comment out the $borrower{...} lines in it, it should stop those from updating from LDAP.
Hope that works for you,
participants (2)
-
MJ Ray -
mourik jan c heupink