We are still stuggling with the openldap. We
cannot manage to start it. We have
made some changes in the slapd.conf (located in /usr/local/etc/openldap) only
for test purposes.
made some changes in the slapd.conf (located in /usr/local/etc/openldap) only
for test purposes.
We are using the command /usr/local/libexec/slapd
to start the server but we
keep geeting the error "index attribute "cn" undefined". Our slapd.conf file
is shown below.
keep geeting the error "index attribute "cn" undefined". Our slapd.conf file
is shown below.
## Incluimos esta
linha
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/core.schema
## Include the at
file
include /usr/local/etc/openldap/slapd.at.conf
include /usr/local/etc/openldap/slapd.at.conf
## Include the Object Class definition
File
include /usr/local/etc/openldap/slapd.oc.conf
include /usr/local/etc/openldap/slapd.oc.conf
## Activate or deactivate the Check of the DB
schema on server
## loading
schemacheck off
## loading
schemacheck off
## Default logging level definition
loglevel 836
loglevel 836
## Report logging file, to be used to replicate
the changes to the dbase
## usinf the slurpd in the slapd.replog
replogfile /var/log/slapd.replog
## usinf the slurpd in the slapd.replog
replogfile /var/log/slapd.replog
## LDBM database definition
## ===========================
database ldbm
readonly off
suffix "o=Universidade de Brasilia, c=BR"
directory /usr/local/var/openldap-ldbm
rootdn "cn=root, o=Universidade de Brasilia, c=BR"
rootpw senha
## ===========================
database ldbm
readonly off
suffix "o=Universidade de Brasilia, c=BR"
directory /usr/local/var/openldap-ldbm
rootdn "cn=root, o=Universidade de Brasilia, c=BR"
rootpw senha
## Activate the automatic management of the
modufier and timestamp by
## the server (on|off)
lastmod on
## the server (on|off)
lastmod on
## Define the Size and the time limits for each
query
sizelimit 100
timelimit 120
sizelimit 100
timelimit 120
## Build the following index
files
index cn,sn,uid pres,eq
index cn,sn,uid pres,eq
index objectClass eq
## Acl : Control Access Libraries:
## ===============================
## ===============================
defaultaccess read
access to attr=objectClass
by * read
access to attr=usercertificate;binary
by * read
by * search
access to attr=userpassword
by self write
by * compare
access to attr=cn
by * read
access to *
by * read
access to attr=objectClass
by * read
access to attr=usercertificate;binary
by * read
by * search
access to attr=userpassword
by self write
by * compare
access to attr=cn
by * read
access to *
by * read
We are using openca version 0.8.1, openldap
2.0.18.
Can somebody please help us??
Thanks in advance,
Loriza and Alice
Loriza and Alice