[Date Prev][Date Next]
On Wednesday 18 August 2004 11:52, Mike O'Rourke wrote:
> Hi Misty,
> - What is in the LDIF file above the entry for Joe Schmo?
I will paste it below. The issue is a little different now because I have
added all kinds of objectClasses trying to get it to work.
> - Is Joe's the last entry in the LDIF file? (If so, is there at least
> one blank line after it?)
It is the only entry. I tried with and without one blank line.
> - What does Joe's current (unmodified) LDAP entry look like (of course,
> without divulging any private info)?
Here is the current LDIF:
cn: Joe Schmo
title: Customer Service/Receptionist
street: 1234 Some Street
Here is the LDIF with the attributes I am trying to add:
dn: cn=Joe Schmo,ou=people,dc=mycompany,dc=com
gecos: Joe Schmo
baa:/etc/openldap # ldapmodify -v -D "cn=Manager,dc=mycompany,dc=com" -W -x -a
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
adding new entry "cn=Joe Schmo,ou=people,dc=mycompany,dc=com"
ldapmodify: update failed: cn=Joe Schmo,ou=people,dc=mycompany,dc=com
ldap_add: Object class violation (65)
additional info: no structural object class provided
I thought 'person' was a structural object class. I also tried adding
'account' as an objectClass, but I get other errors there. I don't know what
I am missing. I was able to finally replace the UID, but only all by itself,
in a separate LDIF.
Misty at her wits' end