summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2022-05-07 20:37:34 +0200
committerJeremy Allison <jra@samba.org>2022-06-06 16:46:35 +0000
commit5e7965236435cc27bbcb9637133d4a73de7e57fd (patch)
tree8625c45abe4bdac714ce5fce00a0850a09abd7be
parent5f0b65654c7af41f7d9241d8e04927f29db3147b (diff)
downloadsamba-5e7965236435cc27bbcb9637133d4a73de7e57fd.tar.gz
s3:smbd add missing VolumeCreationTime to FileFsVolumeInformation
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/smbd/smb2_trans2.c3
1 files changed, 2 insertions, 1 deletions
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.