Hello,
I have a problem with my ldap servers. We have a farm of 4 openldap servers that synchronizes its information from a fifth. These servers are used as user backend for our mail system.
The problem we have is that sometimes mail systems launchs searches and get 0 entries, but there are entries matching the query. In fact, if they launch the query after a few seconds, it gets the results.
My ldap servers are debian servers (etch version) with openldap 2.3.30-5 (debian version) and 1GB of memmory running in a xen VM.
These are the logs I get (these are from a script that joins the logs of the ldap server by operation). The two first gets 0 entries, but the third (launched from the same client and the same ldap user) gets 1 entry. Between the queries there were no modification operation (add, mod or del) with this entry:
Mar 24 11:01:59 canis2 conn=202855 op=43 (IP=155.54.212.199) SRCH (base=ou=Usuarios,dc=Telematica, scope=2, filter=(&(objectClass=posixAccount)(uid=lsc63903)(irisUserStatus=urn:mace:rediris.es:um.es:userstatus:correo:estado:activo)), attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass ) -> tag=101, err=0, text= , nentries=0
Mar 24 11:01:59 canis2 conn=202855 op=44 (IP=155.54.212.199) SRCH (base=ou=Usuarios,dc=Telematica, scope=2, filter=(&(objectClass=posixAccount)(uid=lsc63903)(irisUserStatus=urn:mace:rediris.es:um.es:userstatus:correo:estado:activo)), attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass ) -> tag=101, err=0, text= , nentries=0
Mar 24 11:32:10 canis2 conn=696 op=101481 (IP=) SRCH (base=ou=Usuarios,dc=Telematica, scope=2, filter=(&(objectClass=posixAccount)(uid=lsc63903)(irisUserStatus=urn:mace:rediris.es:um.es:userstatus:correo:estado:activo)), attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass ) -> tag=101, err=0, text= , nentries=1
Any idea?