1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-01 21:18:10 +03:00
samba-mirror/lib
Andreas Schneider 2b9a1feae7 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
2021-05-12 21:19:03 +00:00
..
addns build: Consolidate --with-dnsupdate with --with-ads (which implied HAVE_KRB5) 2021-03-26 04:06:41 +00:00
afs s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
async_req lib: Use FIONREAD in wait_for_read_send/recv 2021-03-16 17:09:31 +00:00
audit_logging audit logging tests: Fix flapping test 2021-05-11 07:03:35 +00:00
cmdline lib:cmdline: Align integer types 2021-05-06 13:29:27 +00:00
compression lzxpress: avoid technically undefined shift 2020-08-31 22:31:13 +00:00
crypto lib:crypto: Add py binding for set_relax/strict fips mode 2020-10-29 14:19:36 +00:00
dbwrap dbwrap_rbt: support TDB_INSERT and TDB_MODIFY store flags 2020-06-10 19:08:40 +00:00
fuzzing oss-fuzz: Update build script to be compatible with rpm distros 2021-04-06 15:54:54 +00:00
krb5_wrap lib:krb5_wrap: Check the format string of krb5_warnx() 2021-02-01 21:50:32 +00:00
ldb tests: Use ldbsearch '--scope instead of '-s' 2021-04-28 03:43:34 +00:00
ldb-samba ldb-samba: remove redundant negative check 2021-03-30 18:55:28 +00:00
messaging messaging: Fix receiving file descriptors 2021-03-19 08:18:26 +00:00
mscat lib:mscat: Add missing return check for error in dumpsmcat 2019-05-24 06:07:08 +00:00
param s3:smbd - support streams larger than 64 KiB 2021-05-10 20:16:21 +00:00
printer_driver printing: Align integer types 2021-04-01 19:32:36 +00:00
pthreadpool build: Do not build selftest binaries for builds without --enable-selftest 2019-11-22 11:48:59 +00:00
replace lib:replace: Do not build strndup test with gcc 11 or newer 2021-05-07 06:23:32 +00:00
smbconf waf: add library dependency for sendfile on Solaris 2019-02-17 13:33:15 +01:00
socket lib/socket: autodetect RSS using ETHTOOL_GRXRINGS 2020-05-07 14:44:40 +00:00
talloc Bug 9931: change pytalloc source to LGPL 2021-03-16 18:17:42 +00:00
tdb python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
tdb_wrap
tdr
tevent tevent: also use portable __has_attribute macro to check for "deprecated" attribute 2020-10-16 04:45:40 +00:00
texpect lib:texpect: Do not link against nsl 2021-04-22 17:57:30 +00:00
torture lib/torture: fix subunit names of nested suites 2020-07-07 10:30:40 +00:00
tsocket tsocket: Fix a few typos 2021-01-14 13:29:35 +00:00
util lib:util: Fix return value of tdb_fetch_uint32_byblob() 2021-05-12 21:19:03 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library