Latest LQ Deal: Latest LQ Deals
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Fix for "unconfigurable" samba/CIFs/etc on Debian

Posted 03-10-2016 at 03:05 PM by the dsc

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

After making such change on smb.conf it would be configured after any other upgrade or install of other packages, or yet it can be triggered manually by "dpkg --force-depends --configure --pending".
Posted in Uncategorized
Views 534 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration