Thread: Help with Samba
View Single Post
Old 18th February 2012, 07:44 PM
glennzo Offline
Un-Retired Administrator
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 15,197
Re: Help with Samba

To enable and start the services you need to use the systemctl command.

PHP Code:
systemctl enable smb.service
systemctl start smb
systemctl enable nmb
systemctl start nmb
When those services are already running you can restart them with
PHP Code:
systemctl restart smb.service
systemctl restart nmb

Dang! Cinnamon, or something graphics related crashed hard while I was adding to this post and I lost a lot that I had added. I was forced to reset the computer.

Just the same, make your smb.conf and simple as possible. It doesn't need to be too complex. If you edit that file run testparm to make sure there are no typos. Restart smb and nmb any time you make changes to smb.conf. You will likely need to wait a minute or three for things to get settled afterwards.
The Bassinator
Reply With Quote