Hi,

Is there some way of doing this? When I copy a file from Windows XP onto
a Samba share, I want it to reflect the current time, instead of
preserving the windows "Date Modified" time. This works by default in
Unix. Windows preserves the timestamp by default.

'dos filetimes' and 'dos filemode' in smb.conf don't seem to do the
trick. Any ideas?

Thanks in advance for any help.

Jeff

Here's my setup:
Samba 3.0.7 running on Gentoo Linux system.

Output from 'testparm' command (with small edits to protect the innocent):

[global]
        workgroup = WINDOWS
        security = DOMAIN
        log level = 4
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        wins server = <winsIPaddress>
        passdb expand explicit = No
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        force group = mygroup
        create mask = 0664
        directory mask = 0775
        inherit owner = Yes
[myfolder]
        comment = My Folder
        path = /web/virtual/htdocs/myfolder
        valid users = WINDOWS\medfield
        read only = No


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to