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

Re: ldapsearch: invalid credentials



At 09:56 AM 8/22/2005, matthew sporleder wrote:
>Could the structural object class be added to the ldif manually?

In this case, it was. posixGroup, per RFC 2307, is structural
and is listed in the LDIF as an objectClass value.  Problem is,
I assume, that the nis.schema file in 2.3.5 had that class
mistaken marked as auxiliary.  Upgrading to 2.3.6 should
resolve this problem.

>Possibly found-out with a search on an existing entry with a '+' ?

If one is adding an entry to the directory, searching for it
before hand will not reveal anything more than its non-existance.

Kurt


>On 8/20/05, Kurt D. Zeilenga <Kurt@openldap.org> wrote:
>> At 01:31 PM 8/20/2005, kandryc@miser.umass.edu wrote:
>> >When I try to add the following LDIF:
>> >
>> >dn: cn=root,ou=Group,dc=mydomain,dc=com
>> >objectClass: posixGroup
>> >objectClass: top
>> >
>> >adding new entry "cn=root,ou=Group,dc=mydomain,dc=com"
>> >ldap_add: Object class violation (65)
>> >        additional info: no structural object class provided
>> 
>> If you are using 2.3.5, you should consider upgrading to 2.3.6.
>> There as an error in nis.schema with the posixGroup object
>> class (see ITS#3941), it was incorrectly marked as being
>> an auxiliary class.
>> 
>> Kurt
>> 
>> 
>>