RE: [Samba] weird stat()
> well try to upgrade the server to 2.2.7a and see if thins change. > I think we fixed some bugs with dos times in 2.2.x series. I imagine you're running a later server... maybe you could test it for me? it's simple just do a "stat " on a directory from its parent and compare it to when you do a "stat *"... on my system and some RH 8.0 systems others have tested the results vary by 1 sec, consistently. > Btw why do you use smb to share beetwen 2 unix machines? > Currently nfs is still better as it respect unix semantics ... yeah, I reverted to NFS since this little fiasco... I wanted samba because I have a mixed env and didn't want two servers running... sigh. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Simo Sorce Sent: Monday, December 23, 2002 12:14 AM To: Erick Calder Cc: [EMAIL PROTECTED] Subject: RE: [Samba] weird stat() On Sun, 2002-12-22 at 20:34, Erick Calder wrote: > > so what matter is the kernel you have not samba version > > sorry if I didn't provide all relevant info. > > client host: RH 7.2 (2.4.18-18.7 kernel), samba 2.2.1a-4 > server host: RH 7.0 (2.4.9 kernel), samba 2.0.10-0.7 > > > However, this seem a kernel bug in smbfs > > if this is a bug in the kernel... the question on which side: the client > (which is rather recent) or the server (which is a little older)... and in > either case then I should be posting to which mailing list? well try to upgrade the server to 2.2.7a and see if thins change. I think we fixed some bugs with dos times in 2.2.x series. Btw why do you use smb to share beetwen 2 unix machines? Currently nfs is still better as it respect unix semantics ... Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] weird stat()
> so what matter is the kernel you have not samba version sorry if I didn't provide all relevant info. client host: RH 7.2 (2.4.18-18.7 kernel), samba 2.2.1a-4 server host: RH 7.0 (2.4.9 kernel), samba 2.0.10-0.7 > However, this seem a kernel bug in smbfs if this is a bug in the kernel... the question on which side: the client (which is rather recent) or the server (which is a little older)... and in either case then I should be posting to which mailing list? -Original Message- From: Simo Sorce [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 22, 2002 2:35 AM To: Erick Calder Cc: [EMAIL PROTECTED] Subject: Re: [Samba] weird stat() You are probably using smbfs not samba, so what matter is the kernel you have not samba version (no we do not develop smbfs as part of samba. You do not tell which is the OS you mount from. You should know dos system had 2 seconds time resolution, we also emulate this behavior in samba code. However, this seem a kernel bug in smbfs. Simo. On Sun, 2002-12-22 at 07:52, Erick Calder wrote: > hei everyone, > > I have a weird problem: if I do a > > # cd /somedir; stat somesubdir |grep Modify > > where /somedir is some directory on an SMB-mounted filesystem I get one > datetime... but I I do: > > # cd /somedir; stat * |grep Modify > > for the same directory I get a Modify time which consistently differs by 1 > second. As I'm writing a perl module to detect differences in a filesystem > and rely on the mtime, I'm crawling up walls... > > I'm running RH 7.2 with a 2.4.18-18.7 kernel and samba 2.2.1a-4. and I've > had this weird behaviour confirmed by someone on OPN #redhat running a RH > 8.0 system with samba 2.2.7. > > wtf? > > thx - ekkis -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] weird stat()
hei everyone, I have a weird problem: if I do a # cd /somedir; stat somesubdir |grep Modify where /somedir is some directory on an SMB-mounted filesystem I get one datetime... but I I do: # cd /somedir; stat * |grep Modify for the same directory I get a Modify time which consistently differs by 1 second. As I'm writing a perl module to detect differences in a filesystem and rely on the mtime, I'm crawling up walls... I'm running RH 7.2 with a 2.4.18-18.7 kernel and samba 2.2.1a-4. and I've had this weird behaviour confirmed by someone on OPN #redhat running a RH 8.0 system with samba 2.2.7. wtf? thx - ekkis -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] account aliases?
hello everyone, I've looked through Google and this list's archives but have come up empty. here's may question: I have an NT laptop where I log in as administrator, I have a linux box with an account of my one (erick). Everytime I try to access the filesystem on the Linux box, NT sends credentials for administrator which of course, is wrong. when the challenge fail I'm prompted for an account/password. I would like to keep using my admin account on NT but I don't want to create an "administrator" account on Linux, or rename my "erick" account. but I want it to automatically know it's me. so my question is: is there a way in which I can create an account alias in Samba? i.e. a Samba account called "administrator" which maps to the Linux account "erick"? or is there a better way to do this? - e -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba