The global
name
resolve
order
option specifies the order of services that Samba will use in attempting name resolution. The default order is to use the
LMHOSTS file, followed by standard Unix name resolution methods (some combination of
/etc/hosts, DNS, and NIS), then query a WINS server, and finally use broadcasting to determine the address of a NetBIOS name. You can override this option by specifying something like the following:
[global]
name resolve order = lmhosts wins hosts bcast
This causes resolution to use the
LMHOSTS file first, followed by a query to a WINS server, the system password file, and finally broadcasting. You need not use all four options if you don't want to. This option is covered in more detail in the section
Section 7.3.3, Setting Up Samba as a WINS Server," earlier in this chapter.