s3:smbd add missing VolumeCreationTime to FileFsVolumeInformation
[samba.git] / source3 / smbd / smb2_trans2.c
index ba54c5ada6e0cf08f6228662e8cc688003d9041f..f4cc0b98b9260c0831ecc9b4c06ed68d664f0971 100644 (file)
@@ -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.