1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/torture
Joseph Sutton 64258fd8b1 CVE-2022-32746 s4:torture: Fix LDB flags comparison
LDB_FLAG_MOD_* values are not actually flags, and the previous
comparison was equivalent to

(el->flags & LDB_FLAG_MOD_MASK) == 0

which is only true if none of the LDB_FLAG_MOD_* values are set. Correct
the expression to what it was probably intended to be.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15009

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2022-07-27 10:52:36 +00:00
..
auth s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
basic source4/torture: Drop unused variable tdif 2022-02-17 18:12:52 +00:00
dfs
dns tortures/dlz: more DNS update tests 2022-06-17 01:28:30 +00:00
drs CVE-2022-32746 s4:torture: Fix LDB flags comparison 2022-07-27 10:52:36 +00:00
gpo lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
krb5 s4:torture: Adapt KDC canon test to Heimdal upstream changes 2022-01-19 20:50:35 +00:00
ldap s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
ldb Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
libnet s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
libnetapi torture: Fix build on freebsd, missing deps on cmdline 2021-06-22 02:05:17 +00:00
libsmbclient spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
local s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
man Argument to control number of operations -o no longer valid 2019-09-18 19:51:11 +00:00
nbench lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
nbt
ndr librpc:ndr: Update ndr_print_debug() to the new ndr ABI 2022-07-15 14:25:38 +00:00
ntp s4:torture: Use GnuTLS MD5 in ntp_signd test 2019-05-21 00:03:23 +00:00
rap s4:torture: Use GnuTLS RC4 for RAP SAM test 2019-07-26 01:48:25 +00:00
raw s4: torture: Fix raw.search:test_one_file() by using the SMB1+POSIX connection for POSIX info levels. 2021-12-11 11:14:31 +00:00
rpc librpc:ndr: Update ndr_print_debug() to the new ndr ABI 2022-07-15 14:25:38 +00:00
smb2 torture: Fix the 32-bit build 2022-07-23 23:29:38 +00:00
tests s4:torture: Reformat shell scripts 2022-07-08 09:05:56 +00:00
unix s4/torture/unix_info2: return NULL on failure 2022-06-17 02:18:32 +00:00
vfs s4: torture: Improve error messages in check_stream() and read_stream() to include the filename and NTSTATUS. 2021-06-25 15:53:31 +00:00
winbind selftest: Extend test_wbc_logon_user to test WBFLAG_PAM_UNIX_NAME flag 2022-04-08 20:13:37 +00:00
gentest.c s4/torture/gentest: don't ignore unknown options 2021-09-10 15:10:30 +00:00
locktest.c s4/torture/locktest: don't ignore unknown options 2021-09-10 15:10:30 +00:00
masktest.c s4: torture: Use smbcli_unlink_wcard() to setup and cleanup in masktest. 2021-12-09 18:06:35 +00:00
shell.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
smbtorture.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
smbtorture.h
torture.c s4:torture: Remove unused include 2021-06-16 00:34:38 +00:00
util_smb.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
util.h s4:torture: add a torture_user2_credentials() helper to pass additional credentials 2021-03-17 00:49:32 +00:00
wscript_build s4:waf: Fix dependencies for TORTURE_UTIL 2021-12-06 22:08:31 +00:00