[Pkg-samba-maint] Bug#816301: Bug#816301: samba 2:4.3.3 refuses to start

Francesco Potortì Potorti at isti.cnr.it
Tue Mar 8 20:48:44 UTC 2016


>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.

All I know is that samba stopped working during the upgrade.  If you
think you need that, I can rebuild the history of updates.

>Your configuration file is still using the 'security = share' parameter, and that's
>where the warning comes from. 

Yes, that's it.  Unfortunately, no messages nor logs pointed me to that.
I suggest that the upgrade procedure should check for the presence of
that parameter and refuse upgrade if it finds it.

>Does it work without that setting?

Yes.  As suggested by the docs, I substituted it with
   security = user
   map to guest = Bad User

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it



More information about the Pkg-samba-maint mailing list