[Samba] Very slow copy for small files from Win 10 to Samba server

Rowland Penny rpenny at samba.org
Fri Jul 30 12:16:33 UTC 2021


On Fri, 2021-07-30 at 12:51 +0100, Campbell McLeay via samba wrote:
> 
> [global]
>   realm = AD.COMPANY.COM
>   server string = Samba Server Version %v
>   workgroup = COMPANY
>   debug class = Yes
>   debug pid = Yes
>   debug uid = Yes
>   log file = /var/log/samba/log.%I
>   max log size = 0
>   load printers = No
>   kerberos method = secrets and keytab
>   map untrusted to domain = Yes
>   ntlm auth = Yes
>   security = ADS
>   winbind enum groups = Yes
>   winbind enum users = Yes
>   winbind nss info = rfc2307
>   winbind refresh tickets = Yes
>   winbind separator = +
>   idmap config * :range = 0-200000
>   idmap config * : backend = tdb

Either your smb.conf is borked (no 'idmap config' lines for the
'COMPANY' domain) or they are in your 'include' file, or you are using
sssd.
>   include = /etc/samba/smb.conf.client-10.21.60.80
>   force create mode = 0777
>   force directory mode = 0777
> 
> 
>  When
> I
> connect to a Samba server that uses a Samba config that has 'security
> = USER' rather than 'security = ADS' it doesn't show the same issue.
> It isn't asking for a username and password, and there is no local
> user tdb, so I assume it is using AD somehow 

If you are not using 'security = ADS', then you are not using AD.

What Linux OS are you using and what version of Samba ?

Rowland





More information about the samba mailing list