I have a Samba 4.2 server running on a FreeBSD 11 machine. Everything is looking fine, but Windows client will preserve the timestamp instead of using the server's time for new files (I haven't tried with other OS yet). I just want new files to have the server's time, just like transferring with SFTP or FTPS.
            Asked
            
        
        
            Active
            
        
            Viewed 104 times
        
    0
            
            
        - 
                    I guess you can't. See https://serverfault.com/questions/54155/how-to-use-noatime-with-smbfs – Marcel Sep 27 '17 at 16:02
 
1 Answers
0
            
            
        In your smb.conf [global] insert time server = Yes, now you can use on windows NET TIME \\SERVER /SET /YES
The above command can be placed in your logon script if you are in domain.
        c4f4t0r
        
- 5,149
 - 3
 - 28
 - 41