Re: [Samba] cannot access files, directory browsing fine ...

2004-09-17 Thread Craig White
that's a very old kernel - you should update

Craig

On Thu, 2004-09-16 at 12:37, Szymon Machajewski wrote:
 I'm using: 
 
 2.4.9-e.40
 
 Sincerely,
 
 Szymon Machajewski 
 MCSD, RHCT, CNA, MySQL Core, CompTIA Linux+
 Grand Rapids Community College
 
  Jeremy Allison [EMAIL PROTECTED] 9/16/2004 3:36:02 PM 
 On Thu, Sep 16, 2004 at 03:22:35PM -0400, Szymon Machajewski wrote:
  Hello.
  
  I've just spent some time figuring out why on my RedHat ES server
 samba
  allowed me to connect, browse directories, but as soon as .exe was
 in
  the dir it would freeze.
  I couldn't open text files or anything else.
  
  It turns out that the Redhat kernel does not play well with
 'sendfile'
  functionality.
  
  so I added:
  
  use sendfile = no
  
  and I'm back in the game.
 
 What kernel version are you using ? It's starting to look like
 sendfile
 may be broken on 2.4.x kernels.
 
 Jeremy.

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


[Samba] cannot access files, directory browsing fine ...

2004-09-16 Thread Szymon Machajewski
Hello.

I've just spent some time figuring out why on my RedHat ES server samba
allowed me to connect, browse directories, but as soon as .exe was in
the dir it would freeze.
I couldn't open text files or anything else.

It turns out that the Redhat kernel does not play well with 'sendfile'
functionality.

so I added:

use sendfile = no

and I'm back in the game.

Anyone could help me understand what sendfile does in samba and what is
the tradeoff when disabling it ?

thanks.

Sincerely,

Szymon Machajewski 
MCSD, RHCT, CNA, MySQL Core, CompTIA Linux+
Grand Rapids Community College
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] cannot access files, directory browsing fine ...

2004-09-16 Thread Jeremy Allison
On Thu, Sep 16, 2004 at 03:22:35PM -0400, Szymon Machajewski wrote:
 Hello.
 
 I've just spent some time figuring out why on my RedHat ES server samba
 allowed me to connect, browse directories, but as soon as .exe was in
 the dir it would freeze.
 I couldn't open text files or anything else.
 
 It turns out that the Redhat kernel does not play well with 'sendfile'
 functionality.
 
 so I added:
 
 use sendfile = no
 
 and I'm back in the game.

What kernel version are you using ? It's starting to look like sendfile
may be broken on 2.4.x kernels.

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


Re: [Samba] cannot access files, directory browsing fine ...

2004-09-16 Thread Szymon Machajewski
I'm using: 

2.4.9-e.40

Sincerely,

Szymon Machajewski 
MCSD, RHCT, CNA, MySQL Core, CompTIA Linux+
Grand Rapids Community College

 Jeremy Allison [EMAIL PROTECTED] 9/16/2004 3:36:02 PM 
On Thu, Sep 16, 2004 at 03:22:35PM -0400, Szymon Machajewski wrote:
 Hello.
 
 I've just spent some time figuring out why on my RedHat ES server
samba
 allowed me to connect, browse directories, but as soon as .exe was
in
 the dir it would freeze.
 I couldn't open text files or anything else.
 
 It turns out that the Redhat kernel does not play well with
'sendfile'
 functionality.
 
 so I added:
 
 use sendfile = no
 
 and I'm back in the game.

What kernel version are you using ? It's starting to look like
sendfile
may be broken on 2.4.x kernels.

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