1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/selftest/knownfail.d
Ralph Boehme 69691dd0cd smbd: fix handling of sentinel timestamp values
This implements two core changes:

* use NTTIME instead of struct timespec at the database layer

* use struct timespec { .tv_nsec = SAMBA_UTIME_OMIT } as special sentinel
  value in smbd when processing timestamps

Using NTTIME at the database layer is only done to avoid storing the special
struct timespec sentinel values on disk. Instead, with NTTIME the sentinel value
for an "unset" timestamp is just 0 on-disk.

The NTTIME value of 0 gets translated by nt_time_to_full_timespec() to the
struct timespec sentinel value { .tv_nsec = SAMBA_UTIME_OMIT }.

The function is_omit_timespec() can be used to check this.

Beside nt_time_to_full_timespec(), there are various other new time conversion
functions with *full* in their name that can be used to safely convert between
different types with the changed sentinel value.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-12-06 00:17:36 +00:00
..
complex_expressions ldb: complex expression testing 2018-12-07 07:07:08 +01:00
dns dns: treating fully qualified and unqualified zone as identical. 2018-12-20 23:40:26 +01:00
encrypted_secrets selftest/knownfail: Add python2 version of known fails 2018-12-10 10:38:26 +01:00
getncchanges repl_md: Avoid dropping cross-partition links 2019-07-02 04:21:36 +00:00
initshutdown Run test for initshutdown 2019-05-24 03:19:17 +00:00
keytab selftest/samba4.blackbox.export.keytab: Update to use a principal with SPN as UPN 2018-09-05 11:42:25 +02:00
kinit_mit testprogs: Add test for kinit with canonicalization 2019-10-12 16:18:39 +00:00
labdc selftest: Add a 'LABDC' testenv to mimic a preproduction test-bed 2018-07-10 04:42:10 +02:00
ldap ldap: test for empty attributes list 2019-05-06 04:23:51 +00:00
modify-order pytests: try ldap.modify_order with normal user 2019-05-01 05:32:25 +00:00
netlogon smbtorture: Add more tests around NETLOGON challenge reuse 2017-06-27 16:57:42 +02:00
ntlmv1-restrictions selftest/knownfail: Add python2 version of known fails 2018-12-10 10:38:26 +01:00
ntlmv2-restrictions s4:selftest: replace --option=usespnego= with --option=clientusespnego= 2018-01-10 01:01:24 +01:00
password_settings s4:selftest: make use of ad_dc_default 2019-02-27 10:16:10 +00:00
python-segfaults pidl: Handle obtaining objects from a fixed-size array 2019-11-14 17:36:49 +00:00
README
replica_sync selftest/knownfail: Add python2 version of known fails 2018-12-10 10:38:26 +01:00
s3-lsa-server test_trust_ntlm.sh: add lookup name tests 2018-02-21 14:19:19 +01:00
samba3.vfs.fruit lib/adouble: pass filesize to ad_unpack() 2019-10-30 14:52:33 +00:00
smbclient-smb3 s3:selftest: run samba3.blackbox.inherit_owner tests with NT1 and SMB3 2017-06-27 16:57:48 +02:00
srvsvc selftest: Run samba3.srvsvc tests covering more of the srvsvc server 2019-05-24 03:19:17 +00:00
upn_handling s3:winbind: Do not lookup local system accounts in AD 2018-07-04 23:55:56 +02:00
usage downgradedatabase: installing script 2019-08-20 03:40:28 +00:00
vlv paged results: testing suite for new paged results module 2018-12-21 11:10:30 +01:00
wkssvc selftest: Add more testing of wkssvc in source3 2019-05-24 03:19:17 +00:00

# Files in this directory contain lists of regular expressions
# matching the names of tests that are temporarily expected to fail.
#
# "make test" will not report failures for tests listed here and will consider
# a successful run for any of these tests an error.
#
# Empty lines and lines begining with '#' are ignored.
# Please don't add tests to this README!