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

Directory specification errors



I'm using SUSE 9, OpenLDAP 2.1.22, and installed slapd. My slapd.conf looks
like

..
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/courier.schema
include         /etc/openldap/schema/inetorgperson.schema
database        ldbm
suffix          "dc=extnn,dc=com"
rootdn          "cn=Manager,dc=extnn,dc=com"
rootpw	     ...
TLSCipherSuite          HIGH:MEDIUM:+SSLv2
TLSCertificateFile      /etc/openldap/slapdcert.pem
TLSCertificateKeyFile   /etc/openldap/slapdkey.pem

...

When I try to add according to jamm spec my directory base like with command
% ldapadd -x -h localhost -D cn=Manager,dc=extnn,dc=com -W -f ./base.ldif
..
dn:dc=extnn,dc=com
objectClass:top

dn:cn=Manager,dc=extnn,dc=com
objectClass:top
objectClass:organizationalRole
cn:Manager

dn:o=hosting,dc=extnn,dc=com
objectClass:top
objectClass:organization
o:hosting

..

I just get ..

adding new entry "dc=extnn,dc=com"
ldapadd: update failed: dc=extnn,dc=com
ldap_add: Undefined attribute type (17)
        additional info: dn: attribute type undefined

Any hints help appreciated as always.

/Per Öberg