Home / Linux Admin /

Samba Setup on Linux

  1. run updates
  2. Install it
  3. create samba users (I believe they are the same user as local login, but just use a different password for auth, which needs setting here)
  4. Set permissions to any files and folders you want to share to be correct to the user
  5. setup shares in the /etc/samba/smb.conf with the following syntax - I put it in the Share Definitions section

    [<share_name>]
    comment = description
    path = /path/to/folder/to/share
    valid users = <user_name>
    read only = no
    create mask = 755
    directory mask = 755
    browseable = yes
  6. restart the samba services
  7. If you have a firewall setup, open ports 137 and 445

this document last modified: October 06 2017 21:42

Home / Linux Admin /