[Samba] cannot access files after update samba 3.0.5 -> 3.0.6
(Redhat 6.2)
Jeremy Allison
jra at samba.org
Mon Aug 30 16:07:42 GMT 2004
On Mon, Aug 30, 2004 at 12:25:53PM +0200, Wolfgang Kretzschmar wrote:
> Redhat 6.2
> kernel 2.2.14-12
> Samba 3.0.6
> compiled with ./configure --prefix=/usr/local/samba
> --localstatedir=/var/log/samba --with-lockdir=/var/lock/samba
> --with-privatedir=/etc/rc-abas.d --with-configdir=/etc/rc-abas.d
> --enable-debug
>
>
> I can list directories and write files on a samba share but cannot read
> files. This happens with Windows XP client or smbclient. After downgrading
> to 3.0.5 samba works fine again.
>
> It seems to be a Redhat 6.2 problem. On a second computer with Redhat 9
> this problem does not occur.
>
> This line is written in log.smbd:
>
> [2004/08/27 18:29:01, 0] smbd/reply.c:send_file_readX(2122)
> send_file_readX: sendfile failed for file wk/xx (Das Argument ist
> ungültig). Terminating
>
> ("Das Argument ist ungültig" --> "invalid argument")
Ah - sendfile() is now the default in Samba 3.0.6. It seems that
RedHat 6.2 has sendfile, but a different version of the args we
use. Simply turn off sendfile in the smb.conf for this system.
Jeremy.
More information about the samba
mailing list