summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch
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
commit88d321becdcff10f52a629946fb300d158fcc2fa (patch)
tree520edef8ca504853959f756e086dc0cd80044291 /source3/nsswitch
parent298f956eaf7cbd362be8494f315a49d126a2c0ea (diff)
downloadsamba-88d321becdcff10f52a629946fb300d158fcc2fa.tar.gz
samba-88d321becdcff10f52a629946fb300d158fcc2fa.tar.xz
samba-88d321becdcff10f52a629946fb300d158fcc2fa.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. (This used to be commit dad31483b3bd1790356ef1e40ac62624a403bce8)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 047ea1accc..256c0203c0 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/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. */