s3: netsamlogon_clear_cached_user only needs the SID
[samba.git] / source3 / winbindd / winbindd_cache.c
index 44c6f2b80bd772fc6c80a83ea52d775050997f79..7663063aeb4f58a119bb861fbb07ca603b4fcc6c 100644 (file)
@@ -3034,7 +3034,7 @@ void wcache_invalidate_samlogon(struct winbindd_domain *domain,
        tdb_delete(cache->tdb, string_tdb_data(key_str));
 
        /* Samba/winbindd never needs this. */
-       netsamlogon_clear_cached_user(info3);
+       netsamlogon_clear_cached_user(&sid);
 }
 
 bool wcache_invalidate_cache(void)