Szymon Machajewski
2004-Sep-16 19:23 UTC
[Samba] cannot access files, directory browsing fine ...
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
Jeremy Allison
2004-Sep-16 19:36 UTC
[Samba] cannot access files, directory browsing fine ...
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.
Szymon Machajewski
2004-Sep-16 19:38 UTC
[Samba] cannot access files, directory browsing fine ...
I'm using: 2.4.9-e.40 Sincerely, Szymon Machajewski MCSD, RHCT, CNA, MySQL Core, CompTIA Linux+ Grand Rapids Community College>>> Jeremy Allison <jra@samba.org> 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 serversamba> allowed me to connect, browse directories, but as soon as .exe wasin> 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.