search for: large_smb_off_t

Displaying 6 results from an estimated 6 matches for "large_smb_off_t".

2011 Jun 07
0
LARGE_SMB_OFF_T problem
...o one MIPS CPU environment. Firstly I encounterd the problem that the file greater than 4G size can't be size-shown correctly at Windows XP file manager, and when I tried to download/upload the large file (>4G) from samba server, it always failed. I investigated the source code and found LARGE_SMB_OFF_T option (in header file ./source/includes/includes.h) was undefined in my code, then I re-enable it, such as: #ifndef LARGE_SMB_OFF_T # if (defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_OFF64_T)) || (defined(SIZEOF_OFF_T) && (SIZEOF_OFF_T == 8)) # define LARGE_SMB_...
2008 Jan 02
0
Fwd: [Workaround] Allocation size has bad value on a MIPS based setup.
...01000 00000000h). Which is a fairer value :-) After a few investigations on the warnings (warning: right, left shift count >= width of type) when compiling ntrans.c, trans2.c and a few other files in libsmb, it seems that they come from the macros like SOFF_T and alike defined in include.h when LARGE_SMB_OFF_T is defined - which is the case for me. I then just disabled LARGE_SMB_OFF_T and that solves the problem. So I'm happy but some questions remain : is it a known issue / bug ? Am I missing anything here ? Did configure missed anything that finally defined this macro ? Thanks - Phil
2003 Feb 06
1
Samba-2.2.8pre1 available on samba.org mirrors
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 We've just posted a preview release of Samba 2.2.8 on samba.org. This is a non-production release provided for testing only. The final 2.2.8 will only include bug fixes for the 2.2.7a release. The source code can be downloaded from : http://download.samba.org/samba/ftp/pre/ The unpcompressed tarball and patch file have been signed using
2003 Mar 15
0
[SECURITY] Samba 2.2.8 available for download
...al Changes: See the cvs log for SAMBA_2_2 for more details 1) smbumount lazy patch from Mandrake 2) Check for too many processes *before* the fork. 3) make sure we don't run over the end of 'name' in unix_convert() 4) set umask to 0 before creating socket directory. 5) Fix the LARGE_SMB_OFF_T problems and allow smbd to do the right thing in interactive mode when a log file dir is also specified. 6) Fix delete on close semantics to match W2K. 7) Correctly return access denied on share mode deny when we can't open the file. 8) Always use safe_strcpy not pstrcpy for malloc()...
2003 Mar 15
0
[SECURITY] Samba 2.2.8 available for download
...al Changes: See the cvs log for SAMBA_2_2 for more details 1) smbumount lazy patch from Mandrake 2) Check for too many processes *before* the fork. 3) make sure we don't run over the end of 'name' in unix_convert() 4) set umask to 0 before creating socket directory. 5) Fix the LARGE_SMB_OFF_T problems and allow smbd to do the right thing in interactive mode when a log file dir is also specified. 6) Fix delete on close semantics to match W2K. 7) Correctly return access denied on share mode deny when we can't open the file. 8) Always use safe_strcpy not pstrcpy for malloc()...
2003 Dec 01
0
No subject
...e pipe handler. */ if (IS_IPC(conn)) { END_PROFILE(SMBreadX); return reply_pipe_read_and_X(inbuf,outbuf,length,bufsize); } CHECK_FSP(fsp,conn); CHECK_READ(fsp); CHECK_ERROR(fsp); set_message(outbuf,12,0,True); data = smb_buf(outbuf); if(CVAL(inbuf,smb_wct) == 12) { #ifdef LARGE_SMB_OFF_T /* * This is a large offset (64 bit) read. */ startpos |= (((SMB_OFF_T)IVAL(inbuf,smb_vwv10)) << 32); #else /* !LARGE_SMB_OFF_T */ /* * Ensure we haven't been sent a >32 bit offset. */ if(IVAL(inbuf,smb_vwv10) != 0) { DEBUG(0,("reply_re...