linux - sambaWhat links here?

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


smbclient -L server


smbstatus


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


Test the server port
nc -z sneezy 139 && echo up || echo down


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.
linux - samba
software - Apache2 Webserver
Imperial Machine Screw Thread Pitch Chart
code vault - file_info
Raspberry PI - add a user
filename:linux - samba
filename:linux%20%2D%20samba
last edit:May 15 2026 00:06:11 (120 days ago)
ct = 1789230602.000000 = September 12 2026 16:30:02
ft = 1778803571.000000 = May 15 2026 00:06:11
dt = 10427031.000000