Samba access to my share works from command line and from fstab entry on a Mint client. Also from command line on the Raspbian client, but not using the same fstab entry. (The share also automounts on a Mac running OS X.)
Question: how to get automount to work on the Raspbian client?
The share is a drive on an Asus router. The router appends the volume name of the drive to the assigned sharename, adding punctuation. The resulting sharename:
myShareName (at driveVolName)
The server is ROUTER. The Domain (WORKGROUP) is MYWORKGROUP.
From either computer, smbclient -L ROUTER shows the sharename, and
Code:
smbclient "//ROUTER/myShareName (at driveVolName)"
connects to the server.
The /etc/fstab entry, common to both computers, is:
Code:
//ROUTER/myShareName\040\050at\040driveVolName /mnt/router cifs uid=fred,credentials=/home/fred/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
The /etc/samba/smb.conf file from the Mint client was copied to the Raspbian client.
On the Mint client, "sudo mount -a" correctly mounts the volume. On the Raspbian client, the same command gives "mount error (112): Host is down".
For reference, the differences between the distribution Raspbian smb.conf file (>) and the one copied to the Raspbian client from the Mint client (<) are:
Code:
< workgroup = MYWORKGROUP
> workgroup = WORKGROUP
< client use spnego = yes
< client schannel = auto
< client signing = default
< logging = syslog@1 /var/log/samba/log.%m
> syslog = 0
< ;[homes]
< ; comment = Home Directories
< ; browseable = no
> [homes]
> comment = Home Directories
> browseable = no
< ; read only = yes
> read only = yes
< ; create mask = 0700
> create mask = 0700
< ; directory mask = 0700
> directory mask = 0700
< ; valid users = %S
> valid users = %S
(Side topic: any improvements to the smb.client file would be appreciated.)