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

Problems with /etc/ldap/schema


I want to do a question about instalation of OpenLDAP:
# apt-get install slapd ldap-utils
in a server, but but there is an error at the end of installation and

 Creating initial slapd configuration... done.
 Creating initial LDAP directory... slapadd: bad configuration file!
Failed to slapadd this data:
dn: dc=empresa,dc=com,dc=pe
objectClass: top
objectClass: dcObject
objectClass: organization
o: empresa.com.pe
dc: empresa

dn: cn=admin,dc=empresa,dc=com,dc=pe
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword: {crypt}A3H3UTZDtGeTs

Looking for the configuration files, I've realized that the
instalation don't create the schemas in the folder /etc/ldap/schema
and I suppose that's the reason why I am having problems.

I have uninstalled and installed again OpenLDAP, but it doesn´t create
the schemas in that folder.

How can I get them or what should I do?

Please helpme. I would appreciate it so much.