summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-08-30 04:40:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:59 -0500
commit2abab7ee6d04a62017d99578c274244a1cdd27b2 (patch)
treecaba5392b1f1ba24f7af17b94cb2d85f643b874b /source3/lib
parent3bc4fd1bb9bfbd0e0efd89d47c50bf798e5a1481 (diff)
downloadsamba-2abab7ee6d04a62017d99578c274244a1cdd27b2.tar.gz
samba-2abab7ee6d04a62017d99578c274244a1cdd27b2.tar.bz2
samba-2abab7ee6d04a62017d99578c274244a1cdd27b2.zip
r17928: Implement the basic store for CLDAP sitename
support when looking up DC's. On every CLDAP call store the returned client sitename (if present, delete store if not) in gencache with infinate timeout. On AD DNS DC lookup, try looking for sitename DC's first, only try generic if sitename DNS lookup failed. I still haven't figured out yet how to ensure we fetch the sitename with a CLDAP query before doing the generic DC list lookup. This code is difficult to understand. I'll do some experiments and backtraces tomorrow to try and work out where to force a CLDAP site query first. Jeremy. (This used to be commit ab3f0c5b1e9c5fd192c5514cbe9451b938f9cd5d)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/gencache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index d4582b34f9..fe038011d8 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -431,5 +431,3 @@ void gencache_unlock_entry( const char *key )
tdb_unlock_bystring(cache, key);
return;
}
-
-