name resolve order (G)This option is used by the programs in the Samba
suite to determine what naming services to use and in what order
to resolve host names to IP addresses. The option takes a space
separated string of name resolution options.The options are :"lmhosts", "host", "wins" and "bcast". They
cause names to be resolved as follows :lmhosts : Lookup an IP
address in the Samba lmhosts file. If the line in lmhosts has
no name type attached to the NetBIOS name (see the lmhosts(5) for details) then
any name type matches for lookup.host : Do a standard host
name to IP address resolution, using the system /etc/hosts
, NIS, or DNS lookups. This method of name resolution
is operating system depended for instance on IRIX or Solaris this
may be controlled by the /etc/nsswitch.conf
file. Note that this method is only used if the NetBIOS name
type being queried is the 0x20 (server) name type, otherwise
it is ignored.wins : Query a name with
the IP address listed in the
wins server parameter. If no WINS server has
been specified this method will be ignored.bcast : Do a broadcast on
each of the known local interfaces listed in the interfaces
parameter. This is the least reliable of the name resolution
methods as it depends on the target host being on a locally
connected subnet.Default: name resolve order = lmhosts host wins bcast
Example: name resolve order = lmhosts bcast host
This will cause the local lmhosts file to be examined
first, followed by a broadcast attempt, followed by a normal
system hostname lookup.