home_server:home_server_setup:other_services:samba

Prev  
 Next

samba

I have not look at samba much since I first attempted to set up my home sever circa 2011 on Fedora before I moved to Ubuntu. I stopped using Fedora as I had noob pain with Selinux, coupled with the short service life of Fedora, so I moved to Ubuntu, where I had a lot more success.
Samba seems to pretty much just work. I was lazy and tended to just use Webmin to set this up. However as I did not use Webmin for much else I have elected to to set it up now that I moved my server to Debian. So now I need to learn about Samba again
Samba is pretty much mandatory, as a lot of services smb use it as default.
My main form of security it to limit external access to my lan, hence samba security is low. More focused on easy use.

High level requirements:

  • To install: sudo apt install samba samba-client
  • Adjust the smb.conf file: sudo vim /etc/samba/smb.conf
  • Add and enable users: sudo smbpasswd -a USER, ​sudo smbpasswd -e USER. I use the same user name and passwords as main Linux log.

smb.conf

Some samba check commands:

  • smbclient -L 192.168.1.10 list the available shares on the host IP
  • pdbedit -w -L list the current users on the samba host
  • sudo systemctl status smbd smdb.service is the systemd services name…..
  • testparm will list the samba configuration parameters.
  • /mnt/shared/www/dokuwiki/data/pages/home_server/home_server_setup/other_services/samba.txt
  • Last modified: 2022-09-05 Mon wk36 15:00
  • by baumkp