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

Richard Sharpe realrichardsharpe at gmail.com
Mon Apr 30 20:03:42 UTC 2018


Hi folks,

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?

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



More information about the samba-technical mailing list