Code:
cd /etc/samba
sudo cp smb.conf smb.conf.orig
sudo nano smb.conf
(or other preferred text editor)
make changes, save and close, the cp makes a copy of the original smb.conf file with all the comments and information
Code:
sudo testparm -s smb.conf > smb.conf.master
sudo cp smb.conf.master smb.conf
this strips all the comments and unnecessary info from smb.conf and creates a clean master for future reference and troubleshooting and copies it to smb.conf for a clean smb.conf
to see your current samba setup
Code:
sudo systemctl restart nmbd smbd
sudo smbtree -d3
reloads the samba and nmbind daemons and smbtree -d3 to see how other pc's see your samba shares.
All of this information is mostly for assistance
troubleshooting. Setting up samba properly is key, and acc'd to the
Samba documentation you might have to make some minor changes on the windows machines too. On Windows are you able to see the Linux computer via "Network" or "Map network drive" using the IP address?