Hi All,
I have seen this error on numerous forums, and everyone seems to say to add a newline before the dn line, but I have a new line there...


Anyway, the error is this:

[EMAIL PROTECTED] openldap]# ldapadd -x -D "cn=Manager,dc=chard,dc=id,dc=au" \
-W -f /etc/openldap/chard.id.au.ldif


Enter LDAP Password:
adding new entry "dc=chard, dc=id, dc=au"
ldap_add: Undefined attribute type (17)
additional info: dn: attribute type undefined

======================================

My chard.id.au.ldif file is as follows:

dn: dc=chard, dc=id, dc=au
dc: chard
description: Root LDAP entry for chard.id.au
objectClass: dcObject
# objectClass: organizationalUnit
ou: rootobject
o: chard

dn: ou=People, dc=chard, dc=id, dc=au
ou: People
description: All people in organisation
objectClass: organizationalUnit

=====================================
and the slapd.conf is:

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/openldap.schema
allow bind_v2
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
database ldbm
suffix "dc=chard,dc=id,dc=au"
rootdn "cn=Manager,dc=chard,dc=id,dc=au"
rootpw {SSHA}cMcdYQopsLyAyT8pHvZllklkkGbXLwyH
directory /var/lib/ldap/chard.id.au
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub

=================================

The system is running Fedora Core 3 and...

openldap-servers-2.2.13-2
compat-openldap-2.1.30-2
openldap-servers-sql-2.2.13-2
mod_authz_ldap-0.26-2
openldap-devel-2.2.13-2
php-ldap-4.3.11-2.5
nss_ldap-220-3
openldap-clients-2.2.13-2
openldap-2.2.13-2
python-ldap-2.0.1-2

If you need any other info, let me know,

Thanks in advance,
Chard




Reply via email to