Dietpi: Documentation update for Samba

Created on 2 Oct 2016  ·  2Comments  ·  Source: MichaIng/DietPi

Was following instructions documented here - http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&start=10#p56 for Samba. After making changes to conf file and trying to start the service using -
service samba start
following error was throw -

Failed to restart samba.service: Unit samba.service is masked.

service smbd start or systemctl restart smbd works.

Guess we should update Samba docs.

Bug Enhancement

Most helpful comment

I just came back to add that dietpi-services was throwing an error cause of Samba service -

DietPi-Services
─────────────────────────────────────────────────────
Mode: restart
Please wait...
[Ok] cron
[Failed] samba
[Ok] lighttpd

While @Fourdee already fixed it. That was quick! Nice work 👍

All 2 comments

@RajatNair

Great find, you've also uncovered a bug 👍

smbd and nmbd services were not being applied correctly by dietpi-services

I've updated online doc: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=56#p56
systemctl restart smbd nmbd

I just came back to add that dietpi-services was throwing an error cause of Samba service -

DietPi-Services
─────────────────────────────────────────────────────
Mode: restart
Please wait...
[Ok] cron
[Failed] samba
[Ok] lighttpd

While @Fourdee already fixed it. That was quick! Nice work 👍

Was this page helpful?
0 / 5 - 0 ratings