mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +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:
parent
e9bc05d09b
commit
7143246ecc
@ -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);
|
||||
|
@ -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
|
||||
***********************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user