diff options
author | Andreas Schneider <asn@samba.org> | 2021-05-11 11:31:33 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2021-05-12 21:19:03 +0000 |
commit | 2b9a1feae7364a294b024dbeaf6a0202bbad468a (patch) | |
tree | 17490c5528943ae423173d86ff615f7efddae88e /wscript | |
parent | b7ac9486452eb3f0d352b60def097e6aedccaee6 (diff) | |
download | samba-2b9a1feae7364a294b024dbeaf6a0202bbad468a.tar.gz |
lib:util: Fix return value of tdb_fetch_uint32_byblob()
The initialize_winbindd_cache() function uses tdb_fetch_uint32_byblob()
to check if the cache version is valid and up to date. As
tdb_fetch_uint32_byblob() returns false for a successful fetch, we
always remove the winbind cache database. This breaks the winbind
offline logon feature.
This also affects other caches and pdb.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14702
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed May 12 21:19:03 UTC 2021 on sn-devel-184
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions