[Samba] Slow file transfer on ADDC mode
Dante F. B. Colò
dante.colo at stwbrasil.com
Fri May 5 17:37:53 UTC 2017
Hi Rowland
Thank you for your reply, i removed them but nothing changed :(, i also tried to remove others thing like the full_audit module to keep the settings simplest as possible but had no effect, i'll try to build samba with profiling support and debug with some tools like gdb which i don't have much experience but i'll try it.
The current Samba versions support the production/stable version of Windows 10 SMB3 ? I'm asking this because on the smb.conf man page it says "Technical Preview", i decided to try to set max protocol to windows 8.1 SMB3_02 because i had some issues with Windows 10 client machines ,some of these machines was hanging during logon , Excel crashing while editing files and doing this didn't happen anymore. When you look at client smb sessions with smbstatus command,the protocol version negotiated of Windows 10 machines appears as "unknown", is this normal ?
Best Regards
Dante
----- Original Message -----
From: "Rowland Penny" <rpenny at samba.org>
To: "samba" <samba at lists.samba.org>
Cc: "Dante F. B. Colò" <dante.colo at stwbrasil.com>
Sent: Thursday, May 4, 2017 1:57:34 PM
Subject: Re: [Samba] Slow file transfer on ADDC mode
On Thu, 4 May 2017 13:25:34 -0300 (BRT)
Dante F. B. Colò via samba <samba at lists.samba.org> wrote:
> Hi,
>
> I have an issue on a Samba 4.5 running as AD DC
Try doing this:
Remove these lines from [global]
os level = 255
admin users = leonardo.soares
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate, dns
max protocol = SMB3_02
debug class = yes
debug prefix timestamp = yes
use sendfile = yes
smb2 leases = no
dbwrap_tdb_mutexes:* = yes
max stat cache size = 65536
They are either the defaults or shouldn't be used on an AD DC
Change [profiles to this:
[profiles]
path = /samba/profiles
read only = no
Change [Homedirs] to this:
[Homedirs]
path = /samba/homedirs
read only = no
Ghange [RH} to this:
[RH]
path = /samba/files/rh
read only = no
vfs objects = full_audit
full_audit:prefix = "%u|%I|%P"
full_audit:success = rmdir unlink rename
full_audit:failure = rmdir unlink rename
full_audit:facility = LOCAL0
full_audit:priority = NOTICE
acl_xattr is built into Samba when running as an AD DC, so you cannot
use the old way of doing things, see here for a start:
https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles
Rowland
More information about the samba
mailing list