[Samba] Large file problem with version 3.0.34

Alejandro Escanero Blanco alejandro.escanero.ext at juntadeandalucia.es
Mon Feb 2 13:14:56 GMT 2009


I have a problem with large files (>2 Gb) in a Debian sarge based system.
I install samba 3.0.34 with this configuration:
./configure --with-smbwrapper --with-ldap --with-automount 
--with-smbmount --with-pam --with-pam_smbpass --with-ldapsam 
--with-syslog --without-profiling-data --with-quotas --with-sys-quotas 
--with-libsmbclient --with-acl-support --with-utmp --with-vfs 
--with-winbind --localstatedir='/var/lib/samba/locks' 
--prefix='/usr/local/samba' --mandir='${prefix}/man' 
--exec_prefix='${prefix}' --sbindir='${exec_prefix}/sbin' 
--bindir='${exec_prefix}/bin' --sysconfdir='/etc/samba' 
--with-configdir='/etc/samba' --with-lockdir='/var/lib/samba/locks' 
--with-logfilebase='/var/log/samba' --libdir='${exec_prefix}/lib' 
--with-piddir='/var/lib/samba/locks' 
--with-privatedir='/etc/samba/private' --with-swatdir='${prefix}/swat' 
--enable-cups

Kernel is a 2.6.8
I uploaded two files of 2,2Gb and 2,9 Gb and i can't get it from a 
Windows XP or a smbclient.
The log (level 10) says:

[2009/02/02 09:40:15, 3] smbd/process.c:switch_message(927)
  switch message SMBntcreateX (pid 31174) conn 0x8544638
[2009/02/02 09:40:15, 4] smbd/uid.c:change_to_user(226)
  change_to_user: Skipping user change - already user
[2009/02/02 09:40:15, 5] smbd/filename.c:unix_convert(147)
  unix_convert called on file "PATH/FILE.zip"
[2009/02/02 09:40:15, 2] smbd/dosmode.c:unix_mode(90)
  unix_mode(PATH/FILE.zip) inheriting from PATH
[2009/02/02 09:40:15, 2] smbd/dosmode.c:unix_mode(99)
  unix_mode(PATH/FILE.zip) inherit mode 40777
[2009/02/02 09:40:15, 3] smbd/dosmode.c:unix_mode(142)
  unix_mode(PATH/FILE.zip) returning 0766
[2009/02/02 09:40:15, 5] smbd/files.c:file_new(123)
  allocated file structure 190, fnum = 4286 (2 used)
[2009/02/02 09:40:15, 4] smbd/open.c:open_file_ntcreate(1605)
  calling open_file with flags=0x0 flags2=0x0 mode=0766, access_mask = 
0x20089, open_access_mask = 0x20089
[2009/02/02 09:40:15, 3] smbd/open.c:open_file(301)
  Error opening file PATH/FILE.zip (NT_STATUS_ACCESS_DENIED) 
(local_flags=0) (flags=0)
[2009/02/02 09:40:15, 5] smbd/files.c:file_free(456)
  freed files structure 4286 (1 used)
[2009/02/02 09:40:15, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/nttrans.c(805) cmd=162 (SMBntcreateX) 
NT_STATUS_ACCESS_DENIED
[2009/02/02 09:40:15, 5] lib/util.c:show_msg(484)
[2009/02/02 09:40:15, 5] lib/util.c:show_msg(494)

But the user can access without any problem, the file is uploaded by the 
same user via scp.

I can't find information why samba can't access the file.

Thanks.

-- 
-------------------------
Alejandro Escanero Blanco
Secretaría General Técnica - Servicio de Informática Sistemas
Tel:  954 995 614 (395614)
Consejería de Innovación, Ciencia y Empresa
Junta de Andalucía



More information about the samba mailing list