[Koha-bugs] [Bug 22738] Software Error after LDAP Authentication

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 24 12:52:45 CEST 2019


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

--- Comment #12 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to morsch from comment #11)
> (In reply to Katrin Fischer from comment #10)
> > If you had "MA " as your categorycode, Perl will not match that to "MA".
> > It's not likely, but we have run into this. 
> > Try something like:
> > 
> > select * from categories where categorycode like "MA"
> > 
> > If you do 
> > 
> > select * from categories where categorycode = "MA" 
> > 
> > it will always be found, whitespace or not.
> 
> Ahh ok, thanks for that. I did that but sadly there is no whitespace in the
> category code... When running command ##select * from categories where
> categorycode = "MA"## the result is the category "MA"... 
> Do you know how to disable that a user will be created when logging in via
> opac? Or will a patron be created by default? I thought if i disable the
> replicate setting in ldap koha-conf it wont...

Just to make sure (probably copy and paste error), but did you run the
statement with like or =? The replicate setting in the koha-conf.xml should do
that. I think there are 3: just auth, create on first login, update with every
login. You might want to disable update too. There are also some notes on the
manual:
https://koha-community.org/manual/18.11/en/html/apis_protocols.html?highlight=ldap#ldap

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