On Tue, Mar 08, 2016 at 03:33:21PM +0100, Francesco Potortì wrote: > I identified the problem source: this version of Samba does not accept > "security = share" any more and the /etc/init.d/nmbd script fails. The > reason is that: > > # samba-tool testparm --parameter-name="server role" > WARNING: Ignoring invalid value 'share' for parameter 'security' > ERROR: Unable to load default file
FWIW neither samba 4.1 nor 4.3 support the 'security = share' setting; it was removed in Samba 4.0. Your configuration file is still using the 'security = share' parameter, and that's where the warning comes from. Does it work without that setting? Jelmer