[Date Prev][Date Next]
Re: Error while creating entries in OpenLDAP
Thanks for your reply.
for error #1) I did a grep to check if 'aliasObject' is defined
in any of my schema files. But it seems its not there. What can I do to get
the schema definition for 'aliasObject'?
and for error #2, I didn't quite well understand why
dn : cn=Jonathan Adams (with description),
ou=Europe,ou=Search, o=IMC, c=US is not working but at the same
time dn : cn=Jonathan Adams, ou=Europe,ou=Search,
o=IMC, c=US is working??
Thank you very much,
Pierangelo Masarati wrote:
I've recently installed OpenLDAP 2.2.17 with BerkeleyDB 4.2.52
on Red Hat Enterprise Linux AS release 3 machine.
When I tried to populate the directory server with the LDIF
files I have, I got following errors for few entries. Others worked fine.
dn: cn=Canada, ou=Search, o=IMC, c=US
aliasedobjectname: ou=Americas, ou=Search, o=IMC, c=US
Error Message Recieved:
adding new entry "cn=Canada, ou=Search, o=IMC,
ldap_add: Invalid syntax (21)
additional info: objectclass: value #2
invalid per syntax
grep -i aliasobject servers/slapd/schema/*.schema
dn: cn=Jonathan Adams (with description), ou=Europe,
ou=Search, o=IMC, c=US
cn: Jonathan Adams
telephonenumber: +1 408 720 0000
description: this entry has one
Error Message Recieved :
adding new entry "cn=Jonathan Adams (with
description), ou=Europe, ou=Search, o=IMC, c=US
ldap_add: Naming violation (64)
additional info: value of naming attribute
'cn' is not present in entry
Note : The same entry worked for the dn: cn=Jonathan
Adams, ou=Europe, ou=Search, o=IMC, c=US (Note that the string within
bracket is not present here)
Can anyone help?
Hope it helps.
"We believe in neat stuff, and Open Source is neat"