[Samba] Ldap performance

Bruno Gimenes Pereti pereti at ump.edu.br
Fri Aug 27 20:58:18 GMT 2004


Hi,

I Have a PDC running Samba 3.0.4 with OpenLDAP (posix and sambaSAM). I have
more than 1500 users and almost 200 machines in the domain. At 7 PM, when
the students start to login in the win98, win2000 and winXP machine, it's
impossible to change a password even with smbpasswd the linux console. When
the server is idle, it takes me 1 minute to open the MS User Manager and see
the property of a user.
What should be the minimum hardware to this PDC?

Is it normal to have 36 slapd process, each using 33 MB?

Another thing that may be slowing the ldap is that I need to use scope =sub
in my ldap.conf to find users and computers:

dc=homelan,dc=com,dc=br
        Users
                students
                Teachers
                employees
        Groups
        Computers

the relevant part of my smb.conf:

passdb backend = ldapsam:ldap://localhost

ldap suffix = dc=homelan,dc=com,dc=br
ldap admin dn = cn=admin,dc=homelan,dc=com,dc=br
ldap filter = (uid=%u)
ldap user suffix = ou=users
ldap machine suffix = ou=computers
ldap group suffix = ou=groups
ldap port = 389
ldap server = localhost
ldap ssl = no
ldap delete dn = yes
ldap passwd sync = yes

admin users = administrator

----

What I can do to make it work faster?

TIA.

Bruno Pereti



More information about the samba mailing list