[Samba] samba-tool slow operations
Thiago Luiz Parolin
tlparolin at gmail.com
Sat Apr 16 20:27:23 UTC 2022
Hi,
Using samba-tool in our old server (that has Zentyal managing samba),
returns 'normal' (fast) results, but running samba-tool in our new
installed samba returns 'slow' results.
Zentyal:
time samba-tool ou list
ldb_wrap open of secrets.ldb
OU=DCCE,OU=AllUsers
OU=DMAP,OU=AllUsers
OU=LabCientifico,OU=AllComputers
OU=AllUsers
OU=AllComputers
OU=Domain Controllers
real 0m0,330s
user 0m0,262s
sys 0m0,068s
New manually installed samba server:
time samba-tool ou list
OU=DCCE
OU=Domain Controllers
real 0m7,383s
user 0m6,886s
sys 0m0,489s
Why is this happening and how can I solve this?
new server smb.conf
[global]
bind interfaces only = Yes
dns forwarder = <our-running-dns-ip>
interfaces = lo ens3
passdb backend = samba_dsdb
realm = <realm.ext>
server role = active directory domain controller
workgroup = MULTILAB
rpc_server:tcpip = no
rpc_daemon:spoolssd = embedded
rpc_server:spoolss = embedded
rpc_server:winreg = embedded
rpc_server:ntsvcs = embedded
rpc_server:eventlog = embedded
rpc_server:srvsvc = embedded
rpc_server:svcctl = embedded
rpc_server:default = external
winbindd:use external pipes = true
idmap config * : backend = tdb
map archive = No
vfs objects = dfs_samba4 acl_xattr
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[netlogon]
path = /var/lib/samba/sysvol/cl.ibilce.unesp.br/scripts
read only = No
Thanks for any advice.
More information about the samba
mailing list