[plug] Samba printing problems

Garth Atkinson garth at cclinic.com.au
Fri Aug 20 11:44:44 WST 1999


Mike Holland wrote:
> 
> On Fri, 20 Aug 1999, Garth Atkinson wrote:
> 
> > > > (2) All the dates on 'smbmount'ed files (NT->Linux) are off by one hour.
> >
> > The are a million (really about 20) samba options concerning date
> > handling. Have you tried any of these?
> 

I tried to emulate what you have experienced by modifying some of the
time parameters in smb.conf and then remounting a win95 share. I couldnt
achieve the same symptoms, so the problem is probably with the smbfs
code.

> That problem is not samba, its when using linux as a client, which i think
> is done in the kernel module 'smbfs'. Or it could be a bug in the
> smbmount/smbclient/smbmnt commands. Or in windoze - win95 SMB seems to be
> full of bugs.
> 
>   # smbmount '//mosel/c' xxxx -U myk -c 'mount /mnt/mosel -g525 -f3775'
>   Added interface ip=192.168.9.7 bcast=192.168.9.255 nmask=255.255.255.0
>   Added interface ip=192.168.80.1 bcast=192.168.80.255 nmask=255.255.255.0
>   Server time is Fri Aug 20 09:43:02 1999
>   Timezone is UTC+8.0
>   security=share
> 
> The above example is a win95 client (on vmware) but NT has same problem.
> All files appear one hour too old when seen on the linux client.
>   However the clocks are correct going in the other direction with samba.
> 
> I guess I should look for an appropriate newsgroup. Am i right that this
> is a kernel issue?
> 

I dont think its a kernel issue.

After looking at proc.c in the samba source, smbfs will always apply the
unix time zone to whatever date it gets from a smb share. It looks like
a time zone problem of some sort. Can you test this by changing the
linux timezone as a test?

Garth


-- 
If this fortune didn't exist, somebody would have invented it.


More information about the plug mailing list