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

Ralph Böhme slow at samba.org
Mon Apr 30 20:24:39 UTC 2018


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?

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG Key Fingerprint:           FAE2 C608 8A24 2520 51C5
                               59E4 AA1E 9B71 2639 9E46



More information about the samba-technical mailing list