[Samba] smbclient and large file support

Kevin Brown kdb at kerridge.com
Thu May 18 15:55:25 GMT 2006


I have installed samba 3.0.21c onto an AIX5.3 (ML3) server and trying to
copy files to a Samba server (an AIX5.2 ML4 server running the same Samba
vintage). This errors on files larger than 2GB. The binaries for this
version were pulled directly from the download area of samba.org. I am using
Samba as all other ports are blocked and cant use ftp etc. 

For example, the following command errors straight away:

:/ >/tmp/smbclient //testserver/tmp -U test%abc123 -c "recurse; prompt; lcd
/user1; mput testtar"
Domain=[Fred] OS=[Unix] Server=[Samba 3.0.21c]
file_find: cannot stat file ./traintar

Running from within the smb shell:

smb: \> put traintar
Error writing file: NT_STATUS_INVALID_HANDLE
putting file traintar as \traintar (9304.1 kb/s) (average 9304.1 kb/s)

but now a file gets copied to the Samba share but stops at 2GB.

Does anyone know if there are issues in this area or some version/setting I
have to use to overcome this problem.

Many thanks.
-------------- next part --------------
*********************************************************************
                             Disclaimer

This email transmission is confidential and intended solely for the
person or organization to whom it is addressed. If you are not the
intended recipient, you must not copy, distribute or disseminate the
information, or take any action in reliance of it. Any views expressed
in this message are those of the individual sender, except where the
sender specifically states them to be the views of any organization or
employer. If you have received this message in error, do not open any
attachment but please notify the sender (above) deleting this message
>from your system. Please rely on your own virus check no
responsibility is taken by the sender for any damage arising out of
any bug or virus infection.
*********************************************************************


More information about the samba mailing list