mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r26391: samba4 doesn't support 'lmhosts' as resolve module
metze
This commit is contained in:
parent
45747c2041
commit
cdb64b4101
@ -245,7 +245,7 @@ struct resolve_context *lp_resolve_context(struct loadparm_context *lp_ctx)
|
||||
} else if (!strcmp(methods[i], "host")) {
|
||||
resolve_context_add_host_method(ret);
|
||||
} else {
|
||||
DEBUG(0, ("Unknown resolve method '%s'", methods[i]));
|
||||
DEBUG(0, ("Unknown resolve method '%s'\n", methods[i]));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2270,7 +2270,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
|
||||
myname = get_myname();
|
||||
lp_do_global_parameter(lp_ctx, "netbios name", myname);
|
||||
SAFE_FREE(myname);
|
||||
lp_do_global_parameter(lp_ctx, "name resolve order", "lmhosts wins host bcast");
|
||||
lp_do_global_parameter(lp_ctx, "name resolve order", "wins host bcast");
|
||||
|
||||
lp_do_global_parameter(lp_ctx, "fstype", FSTYPE_STRING);
|
||||
lp_do_global_parameter(lp_ctx, "ntvfs handler", "unixuid default");
|
||||
|
Loading…
Reference in New Issue
Block a user