LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices


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 04:05 PM by the dsc

Quote:
>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
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=816301

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 481 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 06:55 AM.

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