summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/libsmb/trustdom_cache.c28
-rw-r--r--source3/winbindd/winbindd.c2
3 files changed, 0 insertions, 32 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e6d42845059..acd01274e40 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -847,8 +847,6 @@ WERROR map_werror_from_unix(int error);
/* The following definitions come from libsmb/trustdom_cache.c */
-bool trustdom_cache_enable(void);
-bool trustdom_cache_shutdown(void);
bool trustdom_cache_store(const char *name, const char *alt_name,
const struct dom_sid *sid, time_t timeout);
bool trustdom_cache_fetch(const char* name, struct dom_sid* sid);
diff --git a/source3/libsmb/trustdom_cache.c b/source3/libsmb/trustdom_cache.c
index d78a28c5b3a..587e1d22db3 100644
--- a/source3/libsmb/trustdom_cache.c
+++ b/source3/libsmb/trustdom_cache.c
@@ -44,34 +44,6 @@
**/
/**
- * Initialise trustdom name caching system. Call gencache
- * initialisation routine to perform necessary activities.
- *
- * @return true upon successful cache initialisation or
- * false if cache init failed
- **/
-
-bool trustdom_cache_enable(void)
-{
- return True;
-}
-
-
-/**
- * Shutdown trustdom name caching system. Calls gencache
- * shutdown function.
- *
- * @return true upon successful cache close or
- * false if it failed
- **/
-
-bool trustdom_cache_shutdown(void)
-{
- return True;
-}
-
-
-/**
* Form up trustdom name key. It is based only
* on domain name now.
*
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 2cd20014267..3c16366597b 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -243,8 +243,6 @@ static void terminate(bool is_parent)
idmap_close();
- trustdom_cache_shutdown();
-
gencache_stabilize();
#if 0