[Samba] Re: Samba 18GB file Transfer

Derek Croxton dcroxton at oxenstierna.homelinux.net
Tue Aug 21 22:50:29 GMT 2007


Brad C wrote:
> Hello Guys,
> 
> Having a bit of trouble transferring an 18GB file for backup purposes to a
> Samba Server. I think the 2GB limit issue was resolved a long time ago?
> Running Version:
> Version 3.0.23c-SerNet-SuSE
> 
> The error on the windows client side ( this is done in some type of bat
> script )
> file creation error the network connection was aborted by the local system.
> 
> tailing the samba logs, I think the part in bold is where things go wrong,
> though i cant find anything on it. Any advice would be really welcome:
> 
> [2007/08/20 13:13:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
>   NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
> PrimaryDomain=[Windows Server 2003 R2 5.2]
> [2007/08/20 13:13:20, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
>   Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER] len1=24
> len2=24
> [2007/08/20 13:19:26, 3] smbd/oplock.c:init_oplocks(862)
>   open_oplock_ipc: initializing messages.
> [2007/08/20 13:19:26, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(260)
>   Linux kernel oplocks enabled
> [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
>   Transaction 0 of length 137
> [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
>   switch message SMBnegprot (pid 30689) conn 0x0
> [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
>   Requested protocol [PC NETWORK PROGRAM 1.0]
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
>   Requested protocol [LANMAN1.0]
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
>   Requested protocol [Windows for Workgroups 3.1a]
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
>   Requested protocol [LM1.2X002]
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
>   Requested protocol [LANMAN2.1]
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
>   Requested protocol [NT LM 0.12]
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_nt1(357)
>   using SPNEGO
> [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(580)
>   Selected protocol NT LM 0.12
> [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
>   Transaction 1 of length 282
> [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
>   switch message SMBsesssetupX (pid 30689) conn 0x0
> [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
>   wct=12 flg2=0xc807
> [2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
>   Doing spnego session setup
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
>   NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
> PrimaryDomain=[Windows Server 2003 R2 5.2]
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(551)
>   Got OID 1 3 6 1 4 1 311 2 2 10
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(554)
>   Got secblob of size 40
> [2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
>   Got NTLMSSP neg_flags=0xe2088297
> [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
>   Transaction 2 of length 408
> [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
>   switch message SMBsesssetupX (pid 30689) conn 0x0
> [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
>   wct=12 flg2=0xc807
> [2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
>   Doing spnego session setup
> [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
>   NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
> PrimaryDomain=[Windows Server 2003 R2 5.2]
> [2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
>   Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER] len1=24
> len2=24

When mounting in Linux, I found I had to use "-o lfs" at the end to get 
around the 2GB limit.  But I don't know from a Windows client.


-- 
Sincerely,
Derek



More information about the samba mailing list