Thread: Help with Samba
View Single Post
Old 18th February 2012, 06:44 PM
glennzo Online
Un-Retired Administrator
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,713
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

Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote