sudo smbtree - shows machines and shares linux machine can see
Configuration File - smb.conf
located in
/etc/samba/smb.conf or /etc/smb/smb.conf
smbclient -L server
smbstatus
smbclient
sudo mount -t cifs //192.168.0.14/D /mnt/server_d -o user=john,servern=SERVER,sec=lanman
sudo mount -t cifs //192.168.0.14/E /mnt/server_e -o user=john,servern=SERVER,sec=lanman
sudo mount -t cifs //sneezy/www /mnt/sneezy_www -o username=john
sneezy_www is just an empty directory (folder) in the /mnt directory.
I think you have to be root to create it.
umount mount-point
smbtree
Restart the samba service:
sudo service smbd restart
Restart networking
sudo service network-manager restart
sudo mount -t cifs //192.168.0.14/D /mnt/server_d -o user=john,servern=SERVER,sec=lanman,noserverino
allowed me to see the missing files, but access came up as -rwxr-xr-x
I fixed the access (sort of) using ,dir_mode=0777,file_mode=0777
None of this fixed access through the file browser (nautilus), which uses gvfs as a front end for smb
ubuntu box 406466
Resources
configuration
Using Samba, 2nd Edition
8 Ways To Mount SMBfs (SAMBA FILE SYSTEM) In Linux.