[Samba] Cannot upload >2Gb file to samba server - solved
Mark Cooke
m.p.cooke at bham.ac.uk
Thu Sep 1 17:39:19 GMT 2005
On Mon, 2005-08-29 at 21:47 +0100, Mark Cooke wrote:
> > On Monday 29 August 2005 08:50, Andrey V. Romanchev wrote:
> > > I use samba on my embedded Linux-2.4.24 (uclibc-0.9.27, samba - 3.0.11)
> > > box and meet subj problem.
> Prime candidates for the problem with large files will be either how
> samba 3.0.11 was compiled or uclibc. uclibc does need large file
> support explicitly enabling (according to a quick google).
Turns out it was a cross-compile issue, and adding -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 to CFLAGS wen compiling samba was the solution.
Cheers,
Mark
--
Mark Cooke <m.p.cooke at bham.ac.uk>
More information about the samba
mailing list