Sinan Ozturk
2020-Aug-27 10:47 UTC
[Samba] Slow Samba AD DC performance compared to Microsoft AD DC
Hello everyone.
I have a problem with performance of Samba AD DC.
We have a Laravel application that queries both Microsoft AD DC and Samba AD DC.
When a query comes to AD it takes 1 second to complete, however with Samba it
can take up to 4-5 seconds.
The queries are updating user, creating group and attaching people to groups.
Samba Server has more than 6000 users.
The VM has 2 CPU 2 GB Ram and Virtio network card running Ubuntu 14.04 with
Samba 4.3.11.
Is there any way I can speed up Samba server?
Here is the smb.conf file
###########################################################
# Global parameters
[global]
workgroup = domain
realm = domain.COM
netbios name = JUGGERNAUT
server role = active directory domain controller
dns forwarder = 172.31.238.11
idmap_ldb:use rfc2307 = yes
log level = 1
ldap ssl = off
ldap server require strong auth = no
[netlogon]
path = /var/lib/samba/sysvol/domain.com/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
###########################################################
Thanks.
Rowland penny
2020-Aug-27 10:51 UTC
[Samba] Slow Samba AD DC performance compared to Microsoft AD DC
On 27/08/2020 11:47, Sinan Ozturk via samba wrote:> Hello everyone. > > I have a problem with performance of Samba AD DC. > > We have a Laravel application that queries both Microsoft AD DC and Samba AD DC. > > When a query comes to AD it takes 1 second to complete, however with Samba it can take up to 4-5 seconds. > > The queries are updating user, creating group and attaching people to groups. > > Samba Server has more than 6000 users. > > The VM has 2 CPU 2 GB Ram and Virtio network card running Ubuntu 14.04 with Samba 4.3.11. > > Is there any way I can speed up Samba server? >You could start by updating your OS and Samba version, they are both EOL. Rowland
Maybe Matching Threads
- Slow Samba AD DC performance compared to Microsoft AD DC
- Slow Samba AD DC performance compared to Microsoft AD DC
- Slow Samba AD DC performance compared to Microsoft AD DC
- Slow Samba AD DC performance compared to Microsoft AD DC
- Slow Samba AD DC performance compared to Microsoft AD DC