summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/docbook/manpages/smb.conf.5.sgml2
-rw-r--r--source3/param/loadparm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/docbook/manpages/smb.conf.5.sgml b/docs/docbook/manpages/smb.conf.5.sgml
index 7456ba6e83..08938fa153 100644
--- a/docs/docbook/manpages/smb.conf.5.sgml
+++ b/docs/docbook/manpages/smb.conf.5.sgml
@@ -4577,7 +4577,7 @@
connected subnet.</para></listitem>
</itemizedlist>
- <para>Default: <command>name resolve order = lmhosts host wins bcast
+ <para>Default: <command>name resolve order = lmhosts wins host bcast
</command></para>
<para>Example: <command>name resolve order = lmhosts bcast host
</command></para>
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a8365af0eb..c69e236408 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1208,7 +1208,7 @@ static void init_globals(void)
string_set(&Globals.szLogonHome, "\\\\%N\\%U");
string_set(&Globals.szLogonPath, "\\\\%N\\%U\\profile");
- string_set(&Globals.szNameResolveOrder, "lmhosts host wins bcast");
+ string_set(&Globals.szNameResolveOrder, "lmhosts wins host bcast");
Globals.bLoadPrinters = True;
Globals.bUseRhosts = False;