[Samba] Name Resolve Order : parameter of smb.conf with testparm

Marcio Oli marcio.oli.df at gmail.com
Thu Oct 4 10:49:20 MDT 2012

I am writing this letter and I hope that I'll have answers about the
generation of smb.conf by the way of smb.conf.master with testparm command.
Like is described on page 5 of Samba3-HOWTO.pdf.

The situation is:
- The manual of smb.conf says that the default value of the parameter “name
resolve order” is “lmhosts host wins bcast”, but when I type the command

# testparm -s smb.conf.master > smb.conf

     the following occurs: the smb.conf generated by this command don't
have the parameter “name resolve order” expressed, but in my
smb.conf.master is configured like:
name resolve order = lmhosts wins host bcast
At this situation, I think should appear the parameter because it is not a
default value. The order is different of default in smb.conf.master.

Thus, I would like to know if the documentation of samba is incorrect about
this configuration or testparm is with a problem to create the smb.conf.

Yours Truly,

Marcio Oliveira
Técnico de Informática
+55 (61) 3314-8520
Procuradoria Geral do Trabalho

More information about the samba mailing list