Samba 2.0.2 (and 2.0.0) truncates/fills with NULL bytes copied files on

David Collier-Brown davecb at Canada.Sun.COM
Mon Feb 8 18:06:04 GMT 1999

pioch at (Nicolas Pioch) quotes cNally Dermot as saying:
> A particular file (size 1300 bytes) is stored on a remote drive (to the test
> workstation) which belongs to a real NT 4 Server (either SP3 or SP4). Copying the
> file straight to a Samba share results in a file of the correct size, but filled with
> NULLs. 

	On Solaris, with the Sun compiler, make sure you're not 
using sunos4/bsd compatability libraries at the same time as normal
This sometimes happens when your search and library paths include
/usr/ucblib... With gcc, I have no knowlege.

David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   |
Work: (905) 477-0437 Home: (416) 223-8968 Email: davecb at

More information about the samba mailing list