Samba

From noop linux
Jump to: navigation, search

Installation

pkgr -i samba

General configuration can be found in /etc/samba/smb.conf


Start

systemctl start smbd.service nmbd.service winbindd.service

Start on boot

systemctl enable smbd.service nmbd.service winbindd.service

Adding Users (with default tdbsam passdb backend)

pdbedit -a -u <user>


Troubleshooting

  • Failed to open/create TDB passwd

Make sure the directories that the .tdb file is supposed to be in exists.

Eg. /var/lib/samba/private/passdb.tbd --> make sure /var/lib/samba/private/ is a valid path.