diff options
author | Volker Lendecke <vl@samba.org> | 2014-12-12 11:39:25 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-12-12 20:47:06 +0100 |
commit | 7c73946f3ae3cee509276ae69bae92c21f711684 (patch) | |
tree | 4d353b86c877bb337d67e17b4303ac3110e43add | |
parent | 7e81fe282540a5b52dcb8c5396321a67733790d2 (diff) | |
download | samba-7c73946f3ae3cee509276ae69bae92c21f711684.tar.gz samba-7c73946f3ae3cee509276ae69bae92c21f711684.tar.xz samba-7c73946f3ae3cee509276ae69bae92c21f711684.zip |
libsmb: Fix removing invalid samlogon cache entries
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source3/libsmb/samlogon_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index 1f1ab1d46e..0041a77c88 100644 --- a/source3/libsmb/samlogon_cache.c +++ b/source3/libsmb/samlogon_cache.c @@ -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; } |