Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
/* The following definitions come from libsmb/samlogon_cache.c */
bool netsamlogon_cache_init(void);
-bool netsamlogon_cache_shutdown(void);
void netsamlogon_clear_cached_user(const struct dom_sid *user_sid);
bool netsamlogon_cache_store(const char *username, struct netr_SamInfo3 *info3);
struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const struct dom_sid *user_sid);
goto again;
}
-
-/***********************************************************************
- Shutdown samlogon_cache database
-***********************************************************************/
-
-bool netsamlogon_cache_shutdown(void)
-{
- if (netsamlogon_tdb) {
- return (tdb_close(netsamlogon_tdb) == 0);
- }
-
- return true;
-}
-
/***********************************************************************
Clear cache getpwnam and getgroups entries from the winbindd cache
***********************************************************************/