[PATCH] net conf: add parameter value check to 'net conf setparm'
Volker Lendecke
vl at samba.org
Wed Nov 23 09:13:34 UTC 2016
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?
Thanks,
Volker
More information about the samba-technical
mailing list