mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
libsmb: Fix removing invalid samlogon cache entries
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7e81fe2825
commit
7c73946f3a
@ -247,7 +247,7 @@ struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const struct do
|
||||
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
DEBUG(0,("netsamlogon_cache_get: failed to pull entry from cache\n"));
|
||||
tdb_delete(netsamlogon_tdb, data);
|
||||
tdb_delete_bystring(netsamlogon_tdb, keystr);
|
||||
TALLOC_FREE(info3);
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user