mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
69691dd0cd
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> |
||
---|---|---|
.. | ||
complex_expressions | ||
dns | ||
encrypted_secrets | ||
getncchanges | ||
initshutdown | ||
keytab | ||
kinit_mit | ||
labdc | ||
ldap | ||
modify-order | ||
netlogon | ||
ntlmv1-restrictions | ||
ntlmv2-restrictions | ||
password_settings | ||
python-segfaults | ||
README | ||
replica_sync | ||
s3-lsa-server | ||
samba3.vfs.fruit | ||
smbclient-smb3 | ||
srvsvc | ||
upn_handling | ||
usage | ||
vlv | ||
wkssvc |
# 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!