param: Allow rpc server dynamic port range to roundtrip
authorGarming Sam <garming@catalyst.net.nz>
Wed, 11 Sep 2019 01:55:37 +0000 (13:55 +1200)
committerNoel Power <npower@samba.org>
Fri, 13 Sep 2019 11:15:31 +0000 (11:15 +0000)
commita0fe965c36218c5992ed2a6fe7c7fdb00b420702
tree233b87ff7eda5c68dc000713c144f9955715b574
parentb730f350c2209236641d0423d4d0c00d43a24929
param: Allow rpc server dynamic port range to roundtrip

Originally this parameter only set two other parameters, but never set
the original string. By setting the string as well, we can make it be
emitted by testparm -v correctly (instead of ''), and set it back as the
value for the parameter.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
lib/param/loadparm.c
python/samba/tests/docs.py