Hi all

I have a problem in openldap server.

I configured an ldap server with bdb that contains about 25000 user.

It works perfect to answer the authentication requests and modifying existing users.

I am using the webmin “LDAP Users and Groups” module to create new users.

When I fill the information for a new user and click on create button it takes a very long time to create the user.

I check the log file of ldap server and I find that it starts access all users in the database.

 

The messages in the log file as below and it is repeated for all users:

 

conn=19 op=1 ENTRY dn="uid=testuser,ou=users,dc=example,dc=com"

Feb  7 10:38:42 testserver slapd[25075]: <= send_search_entry: conn 19 exit.

Feb  7 10:38:42 testserver slapd[25075]: entry_decode: "uid=testuser,ou=Users,dc=example,dc=com"

Feb  7 10:38:42 testserver slapd[25075]: <= entry_decode(uid=testuser,ou=Users,dc=example,dc=com)

Feb  7 10:38:42 testserver slapd[25075]: => bdb_dn2id("uid=testuser,ou=users,dc=example,dc=com")

Feb  7 10:38:42 testserver slapd[25075]: <= bdb_dn2id: got id=0x24

Feb  7 10:38:42 testserver slapd[25075]: => test_filter

Feb  7 10:38:42 testserver slapd[25075]:     EQUALITY

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: search access to "uid=testuser,ou=Users,dc=example,dc=com" "objectClass" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: <= test_filter 6

Feb  7 10:38:42 testserver slapd[25075]: => send_search_entry: conn 19 dn="uid=testuser,ou=Users,dc=example,dc=com"

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "entry" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "uid" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "cn" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "objectClass" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "userPassword" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "shadowLastChange" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "shadowMax" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "shadowWarning" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "loginShell" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "uidNumber" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "gidNumber" requested

Feb  7 10:38:42 testserver slapd[25075]: <= root access granted

Feb  7 10:38:42 testserver slapd[25075]: => access_allowed: read access to "uid=testuser,ou=Users,dc=example,dc=com" "homeDirectory" requested

Feb  7 10:38:43 testserver slapd[25075]: <= root access granted

 

I hope to help me with many thanks to your efforts.

Regards