Re: Goofy file dates with smbfs

Bill Hawes (whawes@star.net)
Wed, 21 Jan 1998 16:44:33 -0500


Eloy A. Paris wrote:

> I am testing smbfs and am getting goofy dates when listing the
> imported directory from a Samba server:
>
> bestia:~# smbmount //zeus/eparis -c 'mount /mnt' -U eparis
> Added interface ip=130.151.17.202 bcast=130.151.17.255
> nmask=255.255.255.128
> Server time is Wed Jan 21 14:26:10 1998
> Timezone is UTC-4.0
> Password:
> Domain=[RAV] OS=[Unix] Server=[Samba 1.9.18p1]
> security=user
> bestia:~# ls -ld /mnt
> drwxr-xr-x 1 root root 512 May 25 2037 /mnt/
> bestia:~# smbumount /mnt
>
> (I listed the mount point but all files in the /mnt directory have
> dates in the 21st century)

I'll take a look at this ... I haven't heard of any timestamp problems
with older Samba servers, but maybe something has changed.

> I must say that I have just mounted a Windows 95 share and the dates
> are also incorrect (year 1969).

What mount flags did you use for the Win 95 share? You need to tell
smbfs that it's a Win 95 server to work around the bugs. Please check
the smbfs.txt file in Documentation.

Regards,
Bill