From: Christian Ambach Date: Sat, 7 May 2022 18:37:34 +0000 (+0200) Subject: s3:smbd add missing VolumeCreationTime to FileFsVolumeInformation X-Git-Tag: talloc-2.3.4~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e7965236435cc27bbcb9637133d4a73de7e57fd;p=thirdparty%2Fsamba.git s3:smbd add missing VolumeCreationTime to FileFsVolumeInformation Signed-off-by: Christian Ambach Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/smb2_trans2.c b/source3/smbd/smb2_trans2.c index ba54c5ada6e..f4cc0b98b92 100644 --- a/source3/smbd/smb2_trans2.c +++ b/source3/smbd/smb2_trans2.c @@ -2296,7 +2296,8 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)st.st_ex_dev, (u case SMB_QUERY_FS_VOLUME_INFO: case SMB_FS_VOLUME_INFORMATION: - + put_long_date_full_timespec(TIMESTAMP_SET_NT_OR_BETTER, + pdata, &st.st_ex_btime); /* * Add volume serial number - hash of a combination of * the called hostname and the service name.