Setting the name resolve order value to
"name resolve order = hosts wins lmhosts bcast"
causing loading to fail because samba-tool testparm returns
Code
handle_name_resolve_order: WARNING: Ignoring invalid list value 'hosts' for parameter 'name resolve order'
pm_process() returned No
ERROR: Unable to load default file
File "/usr/lib/python2.7/dist-packages/samba/netcmd/testparm.py", line 86, in run
lp = sambaopts.get_loadparm()
File "/usr/lib/python2.7/dist-packages/samba/getopt.py", line 94, in get_loadparm
self._lp.load_default()
setting the value to "name resolve order = host wins lmhosts bcast" resolves the loading problem
but leaves the system with error
wins_registration_timeout: wins server 127.0.0.1 timed out registering ip
i had to copy the "hosts" file to "host" to resolve