Upgrade to 13.1 installs samba4 which ignores the expired "security = share" setting

Thought I’d post this in case anyone else runs into the same problem where you cannot access samba shares after upgrading to 13.1

On 12.x Samba3 was used. I see after upgrading to 13.1, Samba was upgraded to 4.1

After the upgrade I could no longer access my shares - kept getting prompted for passwords.

Turns out, from the logs files:

WARNING: Ignoring invalid value ‘share’ for parameter ‘security’

The security=share parameter has finally been ignored. I knew this day was coming but I was still using security=share

Changed to “security = user” fixed the problem for me.

Security = user is the default and need not even be there except to remind you of what is being used I guess. I have a very good bash script to work with Samba you need to get called SACT you can find here:

S.A.C.T. - Samba Automated Configuration Tool - Version 1.06 - Blogs - openSUSE Forums

Please give it a try and tell me your opinion of the bash script. Be sure to read the whole blog and comments too before you use the following terminal command to download/install the script.

rm ~/bin/sact ; wget -nc http://paste.opensuse.org/view/download/60035 -O ~/bin/sact ; chmod +x ~/bin/sact

Thank You,

On 11/21/2013 3:26 AM, gregmccarthy wrote:
>
> Thought I’d post this in case anyone else runs into the same problem
> where you cannot access samba shares after upgrading to 13.1
>
> On 12.x Samba3 was used. I see after upgrading to 13.1, Samba was
> upgraded to 4.1
>
> After the upgrade I could no longer access my shares - kept getting
> prompted for passwords.
>
> Turns out, from the logs files:
>
> WARNING: Ignoring invalid value ‘share’ for parameter ‘security’
>
> The security=share parameter has finally been ignored. I knew this day
> was coming but I was still using security=share
>
> Changed to “security = user” fixed the problem for me.
>
>
Two security modes were removed from Samba4, “share” and “server”. They have been depreciated for sometime.
See:
http://wiki.samba.org/index.php/Samba_4.0_Whitepaper


P.V.
“We’re all in this together, I’m pulling for you” Red Green