param: Check for valid values of 'name resolve order' option
authorNoel Power <noel.power@suse.com>
Tue, 11 Apr 2017 10:26:45 +0000 (11:26 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 13 Apr 2017 09:26:28 +0000 (11:26 +0200)
commit8050db230331d468f2e6ebee341c4e8267cd626d
treef8ad77060179efab1481d3563cd5b48f8350c716
parent63c6209f5c04e4fe1ac41a034d2f0d06d7709305
param: Check for valid values of 'name resolve order' option

This variable is populated by a list of values where each value should
be a known option. This patch ensures that illegal values are detected.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12739

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
docs-xml/smbdotconf/protocol/nameresolveorder.xml
lib/param/loadparm.c
lib/param/loadparm.h
python/samba/tests/docs.py
source3/param/loadparm.c