[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Martin Renvoize changed: What|Removed |Added See Also|https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=29560 | -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Martin Renvoize changed: What|Removed |Added Target Milestone|Oldversions |--- See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=29560 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Mason Jameschanged: What|Removed |Added CC||m...@kohaaloha.com --- Comment #20 from Mason James --- Pushed to 16.05.x, for 16.05.10 release -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Julian Mauricechanged: What|Removed |Added CC||julian.maur...@biblibre.com --- Comment #19 from Julian Maurice --- Pushed to 3.22.x for 3.22.17 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Katrin Fischerchanged: What|Removed |Added Status|Pushed to Master|Pushed to Stable --- Comment #18 from Katrin Fischer --- This patch has been pushed to 16.11.x and will be in 16.11.04. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Kyle M Hallchanged: What|Removed |Added CC||k...@bywatersolutions.com Status|Passed QA |Pushed to Master --- Comment #17 from Kyle M Hall --- Pushed to master for 17.05, thanks Dobrica! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Claudiochanged: What|Removed |Added CC||cost...@gmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Jonathan Druartchanged: What|Removed |Added Attachment #59662|0 |1 is obsolete|| --- Comment #16 from Jonathan Druart --- Created attachment 59722 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59722=edit Bug 17775 - Add new user with LDAP not works under Plack This patch fixes internal server error: Undefined subroutine ::Auth_with_ldap::AddMember called at /srv/koha_ffzg/C4/Auth_with_ldap.pm line 213. It occurs only under plack, and it's strange since C4::Members does EXPORT AddMember and we are importing it into Auth_with_ldap.pm (and it does work under CGI). Signed-off-by: Liz Rea Signed-off-by: Jonathan Druart I did not test but trust author and signoffer. The change cannot hurt. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Jonathan Druartchanged: What|Removed |Added Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #15 from Liz Rea--- Just forget I said anything at all. Patch fixes the issue, and it's quite a bad one. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #14 from Dobrica Pavlinusic--- (In reply to Jonathan Druart from comment #12) > Having a quick look at C4::Auth_with_ldap I am pretty sure there are other > bugs under plack. Variable scoping in this module is very bad, have a look > at $ldap, $prefhost, $base,... Yes, it's very bad code but we haven't hit any bugs in it (yet) and we'll need to rewrite it for DBIx anyway. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #13 from Dobrica Pavlinusic--- (In reply to Liz Rea from comment #9) > Hi, > I thought this was the problem too - but there is another problem. Sessions > created for the LDAP created user hijack any sessions from the same IP, > including staff ones. I don't think of it as a separate bug - I think > symptoms of the same problem. > > Cheers, > Liz Liz, can you expand on this a little bit more? I know that login into OPAC or Intranet will be transferred between then (so if you login into intranet you will also be logged into opac). Is that what you are having problem with? This behavior is because we are registering cookies on hostname (whole hostname) so if OPAC and intranet are on the same hostname (but different path or ports) they will share session. If they are on different hostnames, they will not share sessions. Does this make sense? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #12 from Jonathan Druart--- Having a quick look at C4::Auth_with_ldap I am pretty sure there are other bugs under plack. Variable scoping in this module is very bad, have a look at $ldap, $prefhost, $base,... -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Liz Reachanged: What|Removed |Added Attachment #59644|0 |1 is obsolete|| --- Comment #11 from Liz Rea --- Created attachment 59662 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59662=edit y# Attachment to Bug 17775 - Add new user with LDAP not works under Plack Bug 17775 - Add new user with LDAP not works under Plack This patch fixes internal server error: Undefined subroutine ::Auth_with_ldap::AddMember called at /srv/koha_ffzg/C4/Auth_with_ldap.pm line 213. It occurs only under plack, and it's strange since C4::Members does EXPORT AddMember and we are importing it into Auth_with_ldap.pm (and it does work under CGI). Signed-off-by: Liz Rea -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Liz Reachanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #10 from Liz Rea--- Actually never mind, this sessions thing is a problem generally with plack, with or without LDAP. I only wish I had submitted my identical patch 2 weeks ago >.< Thanks for fixing this, Dobrica! Liz -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #9 from Liz Rea--- Hi, I thought this was the problem too - but there is another problem. Sessions created for the LDAP created user hijack any sessions from the same IP, including staff ones. I don't think of it as a separate bug - I think symptoms of the same problem. Cheers, Liz -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #8 from Dobrica Pavlinusic--- Alex, sorry to steal this one from you, but we hit this one when we deploy master in production, so here if fix for it. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #7 from Dobrica Pavlinusic--- Created attachment 59644 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59644=edit Bug 17775 - Add new user with LDAP not works under Plack This patch fixes internal server error: Undefined subroutine ::Auth_with_ldap::AddMember called at /srv/koha_ffzg/C4/Auth_with_ldap.pm line 213. It occurs only under plack, and it's strange since C4::Members does EXPORT AddMember and we are importing it into Auth_with_ldap.pm (and it does work under CGI). -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Dobrica Pavlinusicchanged: What|Removed |Added Patch complexity|Medium patch|Trivial patch Status|ASSIGNED|Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #6 from Liz Rea--- and when that ldap user logs out, the staff user, no matter who it is, is logged out as well. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #5 from Liz Rea--- A slightly more concerning part of this, is after you fix the more obvious problem of C4::AddMember being undefined (even though it's technically there), there is a problem with the sessions between the OPAC and the intranet - i.e. the next action a logged in staff user will make is "permission denied" requiring them to log in again. I'm still testing to see if this is specifically to do with "replicate" or if it happens with LDAP logins generally. Liz -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #4 from Alex Arnaud--- Hello Jonathan, We plan to work on this bug with Fridolin during our tech camp (30/01 -> 03/02). I'm comfortable with LDAP things and Fridolin with plack. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Liz Reachanged: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Liz Reachanged: What|Removed |Added CC||l...@catalyst.net.nz Assignee|gmcha...@gmail.com |l...@catalyst.net.nz -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Fridolin SOMERSchanged: What|Removed |Added CC||fridolin.som...@biblibre.co ||m -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Jonathan Druartchanged: What|Removed |Added CC||alex.arn...@biblibre.com --- Comment #3 from Jonathan Druart --- Is anybody interested in fixing this bad bug? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Katrin Fischerchanged: What|Removed |Added CC||martin.renvoize@ptfs-europe ||.com --- Comment #2 from Katrin Fischer --- This is a rather bad bug, can we do something about it? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Katrin Fischerchanged: What|Removed |Added CC||katrin.fisc...@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Jonathan Druartchanged: What|Removed |Added Version|16.11 |unspecified CC||jonathan.dru...@bugs.koha-c ||ommunity.org -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 --- Comment #1 from Zeno Tajoli--- More on this bug: the problem is add new user from LDAP, using the automatic population of Koha borrower table by LDAP. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17775] Add new user with LDAP not works under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17775 Zeno Tajolichanged: What|Removed |Added Patch complexity|--- |Medium patch Summary|blocker of bug 7172 |Add new user with LDAP not ||works under Plack Who signed the|Jonathan Druart | patch off|| -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/