Negative / positive winbind cache won't expire even after the specified cache time has passed. Cache only gets expired if opposite type of query is made. For example, even if negative cache time is set to 5 seconds in smb.conf, it never expires till positive (successful) query is made. The attached patch backports 3 commits to 3.5: 57b3d32c8d87c4273d30d73fe2bfd3de0178945d 1e4761d05978b7a495d121acc1deaa7049f3911c (bug #8521) a3f600521122d1a6d74d16668bd1ea4447c5c867 (bug #8643)
Created attachment 7172 [details] v3-5-test patch
Comment on attachment 7172 [details] v3-5-test patch LGTM.
Re-assigning to Karolin for inclusion in 3.5.next. Jeremy
Pushed to v3-5-test. Closing out bug report. Thanks!