maindavfs2 - Support: sr #110248, Proxy not working with normal user

 
 

sr #110248: Proxy not working with normal user

Submitter:  None
Submitted:  Sun 14 Jun 2020 12:33:49 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 28 Jun 2020 02:46:11 PM UTC, comment #1: 

For security reasons proxy must not be configured in the user config file but only in the system wide configuration file.

When you build davfs2 yourself than the system wide config file is probably /usr/local/etc/davfs2/davfs2.conf, depending on how you configured the package. The manpage for mount.davfs has a list of files.

Besides the option use_proxy you also need the option proxy to tell davfs2 the name of the proxy. The environment variable will not work for unpriviledged users for the same securtiy reason that disallow proxy entries in the user config file.

If it still does not work please send both config files. You may aditionally set option "debug config". Your log files will show whether davfs2 correctly understood your configuration.

Werner

- <_71007>
Sun 14 Jun 2020 12:33:49 PM UTC, original submission:  

Hi, i've built and installed the release 1.5.6 of davfs2 on my Kubuntu 19.10.
If i use the root user to mount the dav share, the global configuration setting use_proxy seems to work perfectly.
If i use my lower priviledged user it seems like the proxy is not called, instead it throws a could not resolve hostname (which is okay since the proxy takes care of that).

The use_proxy setting in the user config throwes an unknown configuration option error but i guess thats how it should be since there is "# system wide config file only" noted behind that option.

Is there any way to debug that a little bit deeper? or am i doing something wrong here?

Thanks!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-28 _71007 StatusNone In Progress
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code