1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

lib: Delete unused netsamlogon_cache_shutdown

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Volker Lendecke 2016-11-29 14:58:51 +00:00 committed by Andreas Schneider
parent e9bc05d09b
commit 7143246ecc
2 changed files with 0 additions and 15 deletions

View File

@ -842,7 +842,6 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
/* 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);

View File

@ -87,20 +87,6 @@ clear:
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
***********************************************************************/