Web lists-archives.com

Re: [Samba] Large file (over 4Gb) transfer problem from Windows to Samba 4.7 on CentOS 7.5




>>> Installed Samba version
[root@server ~]# rpm -qa | grep samba
samba-client-libs-4.7.1-9.el7_5.x86_64
samba-winbind-modules-4.7.1-9.el7_5.x86_64
samba-dc-libs-4.7.1-9.el7_5.x86_64
samba-winbind-krb5-locator-4.7.1-9.el7_5.x86_64
samba-common-tools-4.7.1-9.el7_5.x86_64
samba-4.7.1-9.el7_5.x86_64
samba-devel-4.7.1-9.el7_5.x86_64
samba-winbind-4.7.1-9.el7_5.x86_64
samba-dc-4.7.1-9.el7_5.x86_64
samba-winbind-clients-4.7.1-9.el7_5.x86_64
samba-python-4.7.1-9.el7_5.x86_64
samba-client-4.7.1-9.el7_5.x86_64
samba-common-4.7.1-9.el7_5.noarch
samba-common-libs-4.7.1-9.el7_5.x86_64
samba-libs-4.7.1-9.el7_5.x86_64
samba-test-libs-4.7.1-9.el7_5.x86_64
samba-test-4.7.1-9.el7_5.x86_64
[root@server ~]#

>>> smb.conf file
[global]
        workgroup       = Test
        netbios name    = server
        security        = user

        passdb backend  = tdbsam

        printing        = cups
        printcap name   = cups
        load printers   = yes
        cups options    = raw
        protocol        = LANMAN2
        map to guest    = Bad User
        username map    = /etc/samba/smbusers
        guest account   = nobody
        log level       = 2
###########
        lanman auth     = yes
        allow nt4 crypto = yes
        mangled names   = yes
        dos charset     = CP850
        unix charset    = UTF-8
#       display charset = UTF8
        ntlm auth       = ntlmv1-permitted

[d]
        path            = /data2/d
        public          = yes
        guest only      = yes
        guest account   = nobody
        read only       = no
        browseable      = yes

On Sun, Oct 7, 2018 at 7:26 PM Rowland Penny via samba
<samba@xxxxxxxxxxxxxxx> wrote:
>
> On Sun, 7 Oct 2018 19:15:43 +0630
> Mr Crack via samba <samba@xxxxxxxxxxxxxxx> wrote:
>
> > Dear All,
> > Previously I setup CentOS 5 Samba server and everything fine
> > But now I install CentOS 7.5 setup Samba 4.7.1 and faced the
> > following problem .
> > When I file less than 4 Gb ... all OK.
> > But when I transferred file larger than 4 Gb, Samba truncated to 4Gb
> > exactly and Windows OS side see as zero byte file.
> > In CentOS7, can see as 4 Gb but file was corrupted
> > Let me know what the problem could be
> >
> > Best Regards
> > Mr. Linux CZ
> > .
> >
>
> Sorry, but you are going to have to give us a lot more info here, how
> are you running Samba ?
> What is in smb.conf ?
> What Samba version did you upgrade from ?
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba