Alejandro Escanero Blanco
2009-Feb-02 13:33 UTC
[Samba] Large file problem with version 3.0.34
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
Alejandro Escanero Blanco
2009-Feb-02 18:04 UTC
[Samba] Large file problem with version 3.0.34
I answer myself, the problem is in the Antivir VFS that don't have support of files over 2GB. Thanks. Alejandro Escanero Blanco escribi?:> 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
Possibly Parallel Threads
- Strange file permissions
- [PATCH] tools: don't expand prefix and exec_prefix too early
- [resent][PATCH/liboggz] Fix an issue with the symlinks for pre-0.9.9 tool names
- : Win XP Client does not remove directories
- Re: URGENT!!!!! Problem: outlook.pst with samba 3.0.21c!!!!!!!!