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

Re: Adding an object class with required attributes to an existing entry



Nick Milas writes:
>     add: ObjectClass
>     objectClass: posixAccount

> phpLDAPadmin: LDIF Parse Error / Description: The attribute to modify 
> doesnt match the one specified by the add attribute.

Maybe it does a case-sensisite compare.  Try lowercase 'O'

> JXplorer: javax.naming.directory.InvalidAttributeIdentifierException: 
> [LDAP: error code 17 - add: attribute type undefined]
> ApacheDS: #!ERROR Record is invalid

WTF...  Maybe it wants the missing '-' after the entry.  OpenLDAP
doesn't require it, but possibly the LDIF standard does.

-- 
Hallvard