summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-19 03:12:10 +0000
committerMartin Pool <mbp@samba.org>2001-11-19 03:12:10 +0000
commit8654a161c8722a0059b15af12cdb81b27d49e71a (patch)
treeedf4e622fd1cbc3d165a80b5caf7b11a965519af /source3/libsmb
parenteb2bf006acc4842d9b6d2749805dc24404a3d423 (diff)
downloadsamba-8654a161c8722a0059b15af12cdb81b27d49e71a.tar.gz
samba-8654a161c8722a0059b15af12cdb81b27d49e71a.tar.bz2
samba-8654a161c8722a0059b15af12cdb81b27d49e71a.zip
LMHOSTSFILE is now dynamically configured too.
(This used to be commit a779710fff5fddcbf65a8ddc8e9169b586b85481)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 18bab5e7fd..0e696a085b 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -748,7 +748,7 @@ static BOOL resolve_lmhosts(const char *name, int name_type,
DEBUG(3,("resolve_lmhosts: Attempting lmhosts lookup for name %s<0x%x>\n", name, name_type));
- fp = startlmhosts( LMHOSTSFILE );
+ fp = startlmhosts(dyn_LMHOSTSFILE);
if(fp) {
while (getlmhostsent(fp, lmhost_name, &name_type2, &return_ip)) {
if (strequal(name, lmhost_name) &&