Potential shoot-your-self-in-the-foot with net conf setparm

Richard Sharpe realrichardsharpe at gmail.com
Mon Apr 30 20:45:02 UTC 2018


On Mon, Apr 30, 2018 at 1:24 PM, Ralph Böhme <slow at samba.org> wrote:
> Hi Richard
>
> On Mon, Apr 30, 2018 at 01:03:42PM -0700, Richard Sharpe via samba-technical wrote:
>> I managed to hit this sequence with a 4.5.15 installation, and it does
>> not look like things have changed much in this area:
>>
>> -----------------
>> $ net conf setparm global "kerberos method" secrets
>> $ net conf list
>> WARNING: Ignoring invalid value 'secrets' for parameter 'kerberos method'
>> Can't load /etc/samba/smb.conf - run testparm to debug it
>> $ man smb.conf
>> $ net conf setparm global "kerberos method" "secrets only"
>> WARNING: Ignoring invalid value 'secrets' for parameter 'kerberos method'
>> Can't load /etc/samba/smb.conf - run testparm to debug it
>> ------------------
>>
>> After that I was screwed, although maybe I could use tdbtool to fix the issue.
>>
>> Has this been fixed in recent code or should I file a ticket?
>
> possibly. I remember running into the same issue with a similar version and iirc
> when testing with master at that time it worked correctly. Ymmv, not sure if my
> memory serves me well here. Can't you just test with master?

Sigh, because of a need to use a more recent version of sssd that is
not possible ATM. Maybe in a week or two.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)



More information about the samba-technical mailing list