Message: cache_traverse_validate_fn: key length too large: (1029) > (1024) In the tdb dump I've found this entry: key(1029) = "NDR/AD/2/\..." So there really is a long key. After removing the cache.tdb there is no such long entry, even after enumerating/listing all groups (~2000) and users (~30000). In both cases (database with an without the long key) "smbcontrol winbindd validate-cache" says: Winbindd cache is valid. Same problem here: https://bugzilla.samba.org/show_bug.cgi?id=8925
Created attachment 7731 [details] Allow larger keys for NDR keys, modified calculation for UA keys Allow larger keys for non delivery reports (8*max_key_len) Modified calculation for UA-Keys (1024*max_key_len) After applying this patch no problems occur with my "faulty" winbindd_cache.tdb
Today samba works fine at last 8 hours. But now i had same problem: wbinfo -r ADM_Zabolotny_DA 10006 10000
Fixed as bug #10264 in commit 944e9fbc20f125b52e047484dca1792d75561ed9