You are not logged in.

#1 2012-08-23 21:10:33

tedbell
Member
Registered: 2012-08-04
Posts: 167

Samba share and access problems in Thunar and in mc...

Midnight Commander:

In midnight commander I cannot access a network computer using the 'SMB Link...' in the menu. I have installed samba, gvfs-smb and all necessary files. I can access them through Thunar fine but mc gives me this error:

 
Cannot chdir to "smb://XXX"

The network computer is a Windows machine and is not password protected. I leave the lassword field blank in mc.

I am using mc-git and did compile with:

--enable-vfs-smb
--with-samba

Thunar:

I can't configure which folders to share in the properties window of Thunar. I followed these instructions to the letter under 'Thunar Shares':

https://wiki.archlinux.org/index.php/Thunar

I executed all the commands in the instructions as root. Here is my smb.conf:

  ##This is the main Samba configuration file. You should read the
  ##smb.conf(5) manual page in order to understand the options listed
  ##here. Samba has a huge number of configurable options (perhaps too
  ##many!) most of which are not shown in this example
  ##
  ##For a step to step guide on installing, configuring and using samba,
  ## read the Samba-HOWTO-Collection. This may be obtained from:
  ##  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
  ##
  ## Many working examples of smb.conf files can be found in the
  ## Samba-Guide which is generated daily and can be downloaded from:
  ##  http://www.samba.org/samba/docs/Samba-Guide.pdf
  ##
  ## Any line which starts with a ; (semi-colon) or a # (hash)
  ## is a comment and is ignored. In this example we will use a #
  ## for commentry and a ; for parts of the config file that you
  ## may wish to enable
  ##
  ## NOTE: Whenever you modify this file you should run the command "testparm"
  ## to check that you have not made any basic syntactic errors.
  ##
  #[global]
  #  workgroup = WORKGROUP
  #  security = share
  #  server string = My Share
  #  load printers = yes
  #  log file = /var/log/samba/%m.log
  #  max log size = 50
  #  usershare path = /var/lib/samba/usershares
  #  usershare max shares = 100
  #  usershare allow guests = yes
  #  usershare owner only = yes
  #
  #
  # #Windows Internet Name Serving Support Section:
  #
  # #WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
  #;   wins support = yes
  #
  ## WINS Server - Tells the NMBD components of Samba to be a WINS Client
  ##    Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
  #;   wins server = w.x.y.z
  #
  ##WINS Proxy - Tells Samba to answer name resolution queries on
  ## behalf of a non WINS capable client, for this to work there must be
  ## at least one       WINS Server on the network. The default is NO.
  #;   wins proxy = yes

When I enter the 'Share' tab under properties, I am given:

'You are not the owner of this folder'

When I try the same under a root Thunar, I get:

'You may need to install Samba, check your user permissions
(usershares group) and re-login...'


Any clues or solutions would be greatly appreciated

Thanks,

Last edited by tedbell (2012-08-23 21:19:11)

Offline

Board footer

Powered by FluxBB