SUMMARY: How to compile Samba on Solaris8/SPARC with large file support?

From: Bernhard Sadlowski <sadlowsk_at_mathematik.Uni-Bielefeld.DE>
Date: Fri Nov 22 2002 - 12:00:42 EST
I did find the source code for samba 2.2.2 and 2.2.5. It is not
available on anymore. It seems that Samba 2.2.5 is the
last version which works for files>2GB in Solaris. Any later version
seems to be broken. Maybe it's time to contact the samba developers...

The suggestion were:

1) filesystem with largefiles support? 
   Yes, it is both SAMFS from LSC/SUN on the source and destination machine.

2) Why not use the version that's on the Companion CD from Sun?
   I'm not sure where to find the CD. Probably the samba version is too old.

Many thanks go to

"DEWINTER Steven (BMB)" <>
N Murray <>
John Martinez <>
Chris Price <>


----- Forwarded message from Bernhard Sadlowski <sadlowsk@mathematik.Uni-Bielefeld.DE> -----

From: Bernhard Sadlowski <sadlowsk@mathematik.Uni-Bielefeld.DE>
Subject: How to compile Samba on Solaris8/SPARC with large file support?
Date: Fri, 22 Nov 2002 11:15:19 +0100

I am trying to upgrade samba 2.2.2 (from sunfreeware) with a newer
version, because that old version has some bad memory leaks. I have used
different compilers (gcc 2.95.3, gcc 3.2 - but no SUN cc) and different
samba versions (2.2.6, 2.2.7 and 3.0.alpha20. Writing files >2GB to the
server still doesn't work:

smb: \> put  CTPR02_CompleteBackup.bkf.gz
putting file CTPR02_CompleteBackup.bkf.gz as
\CTPR02_CompleteBackup.bkf.gz Error writing file: NT_STATUS_INVALID_HANDLE
(5244.4 kb/s) (average 5244.4 kb/s)

The truncated filesize is 2147491840 ( = 2 GB + 8k )

Google didn't find anything helpful. The samba 2.2.2 package from
sunfreeware seems to work fine with large files.

How to compile samba to support files bigger than 2GB and who has a
recent binary?

sunmanagers mailing list

----- End forwarded message -----
sunmanagers mailing list
Received on Fri Nov 22 12:05:37 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:58 EST