summaryrefslogtreecommitdiffstats
path: root/source4/libcli/resolve/resolve_lp.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-01-14 13:48:32 +1300
committerMichael Adam <obnox@samba.org>2014-01-31 08:05:52 +0100
commitfc77a69461be8b31a6e5bdf92f82a9af8e67457c (patch)
treef93e7f096aad010c860da7e58f8b04bd142ae635 /source4/libcli/resolve/resolve_lp.c
parent8427c797cecc88d70bdee4f310351ca3d4c310db (diff)
downloadsamba-fc77a69461be8b31a6e5bdf92f82a9af8e67457c.tar.gz
samba-fc77a69461be8b31a6e5bdf92f82a9af8e67457c.tar.xz
samba-fc77a69461be8b31a6e5bdf92f82a9af8e67457c.zip
s4-resolve: Add lmhosts support into the source4 name resolve code
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4/libcli/resolve/resolve_lp.c')
-rw-r--r--source4/libcli/resolve/resolve_lp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/resolve/resolve_lp.c b/source4/libcli/resolve/resolve_lp.c
index 92e11f0fcb..dac92493fb 100644
--- a/source4/libcli/resolve/resolve_lp.c
+++ b/source4/libcli/resolve/resolve_lp.c
@@ -41,6 +41,8 @@ struct resolve_context *lpcfg_resolve_context(struct loadparm_context *lp_ctx)
}
} else if (!strcmp(methods[i], "file")) {
resolve_context_add_file_method_lp(ret, lp_ctx);
+ } else if (!strcmp(methods[i], "lmhosts")) {
+ resolve_context_add_lmhosts_method(ret);
} else if (!strcmp(methods[i], "host")) {
resolve_context_add_host_method(ret);
} else {