summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-16 00:25:48 +0000
committerTim Potter <tpot@samba.org>2002-08-16 00:25:48 +0000
commitdad31483b3bd1790356ef1e40ac62624a403bce8 (patch)
treed4b7c724957e6adf77b536fcd308954baf3276b0 /source/nsswitch/winbindd.c
parenta8c4febdb760beb669048c2bf2bb0a0b1c5ed472 (diff)
downloadsamba-dad31483b3bd1790356ef1e40ac62624a403bce8.tar.gz
samba-dad31483b3bd1790356ef1e40ac62624a403bce8.tar.xz
samba-dad31483b3bd1790356ef1e40ac62624a403bce8.zip
Merge of netbios namecache code from APPLIANCE_HEAD.
Tridge suggested a generic caching mechanism for Samba to avoid the proliferation of little cache files hanging around limpet like in the locks directory. Someone should probably implement this at some stage.
Diffstat (limited to 'source/nsswitch/winbindd.c')
-rw-r--r--source/nsswitch/winbindd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c
index 047ea1accca..256c0203c0e 100644
--- a/source/nsswitch/winbindd.c
+++ b/source/nsswitch/winbindd.c
@@ -691,6 +691,8 @@ int winbind_setup_common(void)
}
+ namecache_enable(); /* Enable netbios namecache */
+
/* Get list of domains we look up requests for. This includes the
domain which we are a member of as well as any trusted
domains. */