[PATCH] net conf: add parameter value check to 'net conf setparm'

Ralph Böhme slow at samba.org
Wed Nov 23 09:28:03 UTC 2016


On Wed, Nov 23, 2016 at 10:13:34AM +0100, Volker Lendecke wrote:
> On Tue, Nov 22, 2016 at 03:24:14PM +0100, Ralph Wuerthner wrote:
> > Hi!
> > 
> > Please see attached patchset to prevent bricking your registry like this:
> > 
> >   $ net conf setparm global 'server max protocol' foo
> >   $ net conf setparm global 'server max protocol' SMB3
> >   WARNING: Ignoring invalid value 'foo' for parameter 'server max protocol'
> >   $ net conf setparm global 'server max protocol' SMB3
> >   WARNING: Ignoring invalid value 'foo' for parameter 'server max protocol'
> > 
> 
> Reviewed-by: Volker Lendecke <vl at samba.org>
> 
> Someone else from the Samba Team?

pushed.

Cheerio!
-slow



More information about the samba-technical mailing list