[Samba] Slow file transfer on ADDC mode

Rowland Penny rpenny at samba.org
Thu May 4 16:57:34 UTC 2017


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