[Date Prev][Date Next] [Chronological] [Thread] [Top]

How to configure OpenLDAP to be accessed by Mozilla addressbook.



Hi, all:

I have built a LDAP server with OpenLDAP 2.1.26 under the Administrator Guide in http://www.openldap.org.
And i use it to store all the accounts info of a mail server. Everything works well.And here's my slapd.conf:


include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/corba.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/java.schema
include         /etc/openldap/schema/misc.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/openldap.schema
include         /etc/openldap/schema/qmail.schema
include         /etc/openldap/schema/phpgwcontact.schema
include         /etc/openldap/schema/phpgwaccount.schema
pidfile     /var/run/openldap/slapd.pid
argsfile    /var/run/openldap/slapd.args
database    bdb
suffix      "{xxx}"
rootdn      "cn=Manager,{xxx}"
rootpw      {xxxx}
directory   /var/lib/openldap-data
index   objectClass eq

But when i want to use mozilla addressbook to access all the entries stored in OpenLDAP. I received that it contained no entries with the correct bindcn and password. What have i missed? Or what wrong with my configuration.

Thanks in advance!

Wang Penghui