6.0.0-alpha12
6/8/25

[#11771] loginparams not stored in backend
Summary loginparams not stored in backend
Queue Gollem
Queue Version 3.0.0RC1
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester paul.de_vlieger (at) moniut (dot) univ-bpclermont (dot) fr
Created 11/28/2012 (4575 days ago)
Due
Updated 01/09/2013 (4533 days ago)
Assigned 11/29/2012 (4574 days ago)
Resolved 01/09/2013 (4533 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/09/2013 09:51:05 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
01/09/2013 09:50:58 AM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 117184e9ed7f59bf006f065cf9bc8e4898c408f8
Author: Jan Schneider <jan@horde.org>
Date:   Wed Jan 9 10:50:43 2013 +0100

     [jan] Pass custom login parameters to VFS backend (Bug #11771).

  gollem/docs/CHANGES        |    1 +
  gollem/lib/Application.php |   10 +++++-----
  gollem/lib/Auth.php        |   10 ++++++++--
  gollem/package.xml         |    2 ++
  4 files changed, 16 insertions(+), 7 deletions(-)

http://git.horde.org/horde-git/-/commit/117184e9ed7f59bf006f065cf9bc8e4898c408f8
01/09/2013 09:27:32 AM Jan Schneider Deleted Original Message
 
11/30/2012 07:37:57 AM paul (dot) de_vlieger (at) moniut (dot) univ-bpclermont (dot) fr Comment #5
New Attachment: patch-gollem-bug11771.tgz Download
Reply to this comment
Here it is
11/29/2012 08:04:59 PM Jan Schneider Comment #4 Reply to this comment
I just created files as a "diff working.php original.php", I'm not 
familiar with horde development at all, sorry for that, just wanted 
to participate...
And we're grateful for that. Use "diff -u original modified" instead.
11/29/2012 06:37:27 PM paul (dot) de_vlieger (at) moniut (dot) univ-bpclermont (dot) fr Comment #3 Reply to this comment
I just created files as a "diff working.php original.php", I'm not 
familiar with horde development at all, sorry for that, just wanted to 
participate...

What I'm trying to solve is simple, once logged in to horde (imap 
sever), I want to login to a smb backend by specifying all parameters 
(username,password,servername,share). I noticed that the smbclient 
parameters were not correct (share/servername missing in the 
commandline).

The diff included solves the problem for me.
11/29/2012 05:59:22 PM Jan Schneider Comment #2
State ⇒ Feedback
Patch ⇒ No
Reply to this comment
Looks like the patch is reverse? Also, please provide patches as 
unified diffs.
More important though: I don't understand what you are trying to 
solve. From you description it sound like one wouldn't be able to 
login at all with the credentials that you enter at the login screen, 
which is certainly not true.
11/28/2012 07:54:12 AM paul (dot) de_vlieger (at) moniut (dot) univ-bpclermont (dot) fr Comment #1
Milestone ⇒
State ⇒ Unconfirmed
New Attachment: patch-gollem-Auth-Application.tgz
Patch ⇒ Yes
Queue ⇒ Gollem
Summary ⇒ loginparams not stored in backend
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
Related to (Bug 11088 -> http://bugs.horde.org/ticket/11088 )
loginparams are asked, but not forwarded to auth.

I succeeded to create a patch which stores 'hostspec' and 'share' in 
the backend, and pass it through Authentification.
File modified : Auth.php, Application.php

Now I can login to any smb backend behind my horde server.

TODO:
Handle other loginparams (port/smbclient/...)

Saved Queries