-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
  I'm new to ldap , i got error code 21 when inserting into databases.

in ldap.conf i have:
==============================
BASE    dc=lewis,dc=aaron

And in slapd.conf
==============================
suffix        "dc=lewis,dc=aaron"
rootdn        "cn=root,dc=lewis,dc=aaron"

[r...@terminator openldap]# ldapadd -x -W -f first.ldif  -D
"cn=root,dc=lewis,dc=aaron"
Enter LDAP Password:
adding new entry "dc=lewis,dc=aaron"
ldapadd: Invalid syntax (21)
    additional info: objectClass: value #0 invalid per syntax


[r...@terminator openldap]# cat first.ldif
dn:    dc=lewis,dc=aaron
objectClass:    dcObjcet
objectClass:    organization
o:    Aaron's labo
dc:    Aaron                      

dn:    cn=admin,dc=lewis,dc=aaron
objectClass:    simpleSecuiryObjcet
objectClass:    organizationRole
cn:    admin
userPassword:    secretPass
description:    Ldap Admin


Is there any rules that i didn't obey to ?

Any ideas will appreciate.

- --
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuQ1eEACgkQAM/d66R20umgfwCgplaxcNRHDjwAHkt5UetsAaUH
n2gAoIIYGH3lwLiI3AEBF9+qEiZUUy7n
=4CVX
-----END PGP SIGNATURE-----


Reply via email to