Differences between revisions 12 and 13
Revision 12 as of 2013-07-13 17:47:37
Size: 1723
Editor: GeoffSimmons
Comment: s/smbfs/cifs-utils/
Revision 13 as of 2015-09-27 17:30:11
Size: 1787
Editor: ?BenjaminHowe
Comment:
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
with NO PADDING! Note, unlike smbfs, {{{<DomainName>/}}} is required. (Use the workgroup or machine name if there is no domain.) with NO PADDING! Note, unlike smbfs, {{{<DomainName>/}}} is required (although this doesn't appear to be the case for Debian Jessie). (Use the workgroup or machine name if there is no domain.)

Translation(s): none


SAMBA Client Setup

Should work out of the box if you install cifs-utils:

  • The smb:// protocol in Firefox/Iceweasel: try smb://<computer-name>/

  • smbclient -L <computer-name> (requires smbclient package)

  • Using the Gnome file browser to browse Samba hosts and shares

Mounting samba shares for easy access by programs does not work out of the box because NetBIOS name resolution isn't set up correctly. However, if you figure out the IP address of a server you'd like to connect to (while you have a page accessing smb://<name> open in firefox, do 'netstat' from a command prompt and look for IP addresses using the "netbios-ssn" service), the following will work:

Add the following line to /etc/fstab:

//<IPAddress>/<share name>    /mnt/smb   cifs    password=,uid=1000,umask=000    0    0

Here we're using the mountpoint /mnt/smb (which you must create) and assuming the share has no password.

If the share does have a password, try an options list like the following:

  credentials=/usr/local/etc/whisper.credentials

The file /usr/local/etc/whisper.credentials should contain the following:

  username=<DomainName>/<username>
  password=<password>

with NO PADDING! Note, unlike smbfs, <DomainName>/ is required (although this doesn't appear to be the case for Debian Jessie). (Use the workgroup or machine name if there is no domain.)

To makes files/dirs appear with sensible permissions, try adding the following to the options list:

  file_mode=0664,dir_mode=0775,gid=adm

ToDo: Set up netbios name resolution; document smbnetfs configuration.


CategoryNetwork