Hi, I have installed the last version of qmail-ldap patch and
OpenLDAP-2.0.11.
My slapd.conf:
database ldbm
suffix "dc=domain"
rootdn "cn=Manager,dc=domain"
rootpw {crypt}cryptedpass
directory /path/to/ldapdb
index cn,sn,uid pres,eq
index mail,mailAlternateAddress eq
index objectClass eq
defaultaccess none
access to attr=userPassword
by dn="cn=Manager,dc=domain" write
by dn="cn=qmail,dc=domain" read
by self write
by * auth
access to *
by dn="cn=Manager,dc=domain" write
by dn="cn=qmail,dc=domain" read
by self read
I generate the entries with slapadd. (150.000)
Later, I generate the index whith slapdindex.
All work fine for a few days. But, when I change the pass of some users
with a perl script (bind method=manager). The qmail-ldaplookup not found
any entry. I regenerate the index with slapindex, but the
qmail-ldaplookup not found.
Third time, I regenerate the index, and qmail-ldap found the entries of
my openldap.
What happen? When I must regenerate the index? any idea?
Thanks very much.