Hello all. I've a <BIG> problem with smbmount. I use samba 2.0.5a on a linux slackware 4.0 (kernel 2.2.6) machine and a WinNT Server 4.0 (sp3, sp4, sp5...). When I mount a WinNT share (i.e. test) with command "smbmount //winntserver/test /mnt" I see a complete confusion on the file(s) date in /mnt directory. I read dates from 1900 since 2100. If I "touch" to create a new file (touch dumb) I obtain a date totally wrong (now is 10:32:58 : 23 Jan 1903 on the linux box and 24 Feb 1980 on NT box), if i touch another file (touch dumb2) only few seconds after dumb, I obtain a date very very different (i.e. 8 Sep 1959 on the linux box and 13 Feb 1987 on the NT box). If I create a new file from the WinNT box (Correct date on NT), the date is again incorrect on the linux box. Finally, I've tried to touch a file created on linux with a "wrong" date (but correct on NT box)... A disaster... Each time I touch the file (with the same parameter) i always obtain a different date... Nicely, I've noticed that this problem does not exist with Win95 share... Can someone help me? Thanks in advance, Paolo Borsa
On Mon, 13 Sep 1999, Paolo Borsa wrote:> I use samba 2.0.5a on a linux slackware 4.0 (kernel 2.2.6) machine and a > WinNT Server 4.0 (sp3, sp4, sp5...). > When I mount a WinNT share (i.e. test) with command "smbmount > //winntserver/test /mnt" I see a complete confusion on the file(s) date in > /mnt directory. > I read dates from 1900 since 2100. If I "touch" to create a new file (touch > dumb) I obtain a date totally wrong (now is 10:32:58 : 23 Jan 1903 on the > linux box and 24 Feb 1980 on NT box), if i touch another file (touch dumb2) > only few seconds after dumb, I obtain a date very very different (i.e. 8 > Sep 1959 on the linux box and 13 Feb 1987 on the NT box). If I create a new[snip]> Nicely, I've noticed that this problem does not exist with Win95 share... > > Can someone help me?I wrote this a couple of days ago, I don't know if this helped him or not: smbfs? Your kernel was compiled with the win95 date bug workaround. That workaround messes up dates when looking at NT shares. Recompile your kernel without the workaround enabled or upgrade to a later 2.2.x where the the workaround is enabled per share, as needed. /Urban
Hello, I have a problem with a mount with smb client. I have a net compose from a server with win 2000 server, Active Directory, LDAP authentication and client linux RH 8. The authentication to domain is right, I have the ticket Kerberos but when I make smbmount to open a file service on win 2000 srv, the srv ask to me the password ( I use a domain account and the client isn't in domain but it is in workgroup) I ask if is possible resolve this problem. Regards Fabio Veglianetti