Hello
I installed openldap2.3 on qmail.
Also I use vpopmail.
when I run command that "ldapadd -f vpopmail.ldif
-x -w password -D'cn=vpopmail,o=vpopmail'"
I got an error as below;
adding new entry "dc=example,dc=com "
ldapadd: update failed: dc=example,dc=com ldap_add: Server is unwilling to perform (53) additional info: referral missing file of vpopmail.ldif contains ;
dn: dc=example,dc=com
objectclass: dcObject objectclass: organization o: Example Company dc: example dn: cn=vpopmail,dc=example,dc=com
objectclass: organizationalRole cn: Manager slapd is running
slapd.conf contains;
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v
1.8.8.4 2000/08/26 17:06:18 kurt Exp $
# # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/qmailUser.schema # we need to turn schema checking off as a workaround to a problem # with the qmailUser schema. The issue is that qmailUser objectclass # is defined as top $ person $ organizationalPerson, but according # to core.schema, a person MUST have a cn and sn. But these fields # dont exist in the vpopmail implementation. We can either modify # core.schema to make cn and sn MAY rather than MUST, or we can # disable schemacheck schemacheck off pidfile
/var/run/slapd.pid
argsfile /var/run/slapd.args database
bdb
suffix "o=vpopmail" rootdn "cn=vpopmail, o=vpopmail" rootpw SeptemberUNX directory /usr/local/var/openldap-data index objectClass pres,eq index cn,sn,uid eq index qmailUID,qmailGID eq access to * by self write by dn="cn=vpopmail,o=vpopmail" write by * write ####### finish
################################
What shall I do ?
|