You are not logged in.
On client I am trying to mount a samba share (folder on server) in Thunar, but when I click on icon I get "only root can mount". My server is configured like this:
[global]
workgroup = MYGROUP
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = user
dns proxy = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[240]
comment = Mapa namenjena deljenju datotek znotraj ucilnice 240
path = /home/ziga/240
public = yes
read only = yesand firewall on the server side is like this:
[ziga@240-kateder ~]$ sudo iptables-save
# Generated by iptables-save v1.4.21 on Thu Dec 24 10:25:09 2015
*filter
:INPUT ACCEPT [15474:5153085]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [3668:374440]
:TCP - [0:0]
:UDP - [0:0]
-A TCP -p tcp -m tcp --dport 139 -j ACCEPT
-A TCP -p tcp -m tcp --dport 445 -j ACCEPT
COMMITwhile my /etc/fstab on client looks like this:
//240-kateder/240 /home/dijak/240 cifs username=dijak,password=dijak 0 0I have gvfs and gvfs-afc installed for automounting in Thunar. Any ideas why my configuration won't work. I can ping my server withouth any problem.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Why not using NFS? It's better if you don't need samba specifically.
Anyway, can you go to Go menu at the top bar and add your folder in Add location? (Sort of, my system is not in english, so maybe not the exact names). Try it and tell us.
Last edited by [KNS]Kumo (2015-12-24 16:06:02)
Ore wa Kumo Da!
http://knsweb.net
Offline
This seems to be two problems. First of all does
findmnt /home/dijak/240gives you any output after you reboot with that fstab entry?
Secondly you need the option "user" to allow non-root users to mount an fstab entry, thing is this should not be quite necessary unless you use the "noauto" option as well.
If you want to use gvfs to mount it, then you simply do not have the entry. Also you need gvfs-smb. gvfs-afc is irrelevant here.
Offline