[Samba] 2GB File on AIX 5.2

Phil Lihp lihp.phil at gmail.com
Wed Jun 15 04:52:22 GMT 2005


I'm currently using Samba 3.0.10 binary from Bull AIX Freeware.
http://www.bullfreeware.com/download/aix52/samba-3.0.10.0.bff

I already configured Samba as a Domain member and ran winbind
to authenticate with Domain controller. However, I have no luck
to transfer any file larger than 2GB.

Here is the error from Samba log file

[2005/06/15 14:39:16, 3] smbd/error.c:error_packet(105)
  error string = A file cannot be larger than the value set by ulimit.
[2005/06/15 14:39:16, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(3723) cmd=50 (SMBtrans2) NT_STATUS_DISK_FULL


I am sure that the limit of the user is 'unlimited' (-1)

/etc/security/limits
userx:
        fsize = -1
        fsize_hard = -1
        data = -1
        data_hard = -1
        core = -1
        stack = -1
        core_hard = -1
        stack_hard = -1

The filesystem has been built to support large file; tested by FTP a 6GB file.

Do I miss anything?
Appreciate to all help.


LihP


---------- smb.conf --------------
[global]
        workgroup = XXX
        security = DOMAIN
        log level = 3
        syslog = 0
        log file = /var/opt/samba/logs/log.%m
        max log size = 50
        os level = 0
        preferred master = No
        local master = No
        domain master = No
        wins server = X.X.X.X
        ldap ssl = no
        invalid users = root
        winbind separator = \
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum users = yes
        winbind enum groups = yes
        template homedir = /
        template shell = /bin/false
        socket options = TCP_NODELAY

[share]
        comment = Test Share
        path = /var/share
        read only = No
        create mask = 0664
        directory mask = 0775
        preserve case = No
        short preserve case = No
        hide files = /common/
        follow symlinks = No
---------------------------------------------


More information about the samba mailing list