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

ldapadd: missing value on line 3 (attr is objectClass: dcObject)



Something is wrong with my configuration:
my slapd.conf simply states:
...
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
...
database        ldbm
suffix          "dc=lafe,dc=com"
rootdn          "cn=Manager,dc=lafe,dc=com"
rootpw          secret
directory       /usr/local/var/openldap-ldbm
index   objectClass pres

As I try to insert the root and administrator nodes via the following LDIF

# Our organization
 dn: dc=lafe,dc=com
 objectClass: dcObject
 objectClass: organization
 o: lafe
 description: La raiz de nuestro hospital

# Adminsitrator
 dn: cn=Manager,dc=lafe,dc=com
 objectClass: organizationalRole
 cn: Manager
 description: Administrador del Servidor LDAP

I permanently get the error:
ldapadd: missing value on line 3 (attr is objectClass: dcObject)?
Please help, I'm desperated!!!