Guenther
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15963
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Dec 8 09:59:58 UTC 2025 on atb-devel-224
# We currently don't send referrals for LDAP modify of non-replicated attrs
^samba4.ldap.rodc.python\(rodc\).__main__.RodcTests.test_modify_nonreplicated.*
-
-# Currently winbindd_cache.tdb is not working as expected
-^samba3.winbind_cache_sanity.WINBINDD_CACHE_VERSION.*
{
char *db_path;
TDB_CONTEXT *tdb = NULL;
+ bool wcache_wiped = !lp_winbind_offline_logon();
db_path = wcache_path();
if (db_path == NULL) {
0600);
TALLOC_FREE(db_path);
+ if (wcache_wiped) {
+ tdb_store_uint32(tdb,
+ WINBINDD_CACHE_VERSION_KEYSTR,
+ WINBINDD_CACHE_VERSION);
+ }
+
return tdb;
}