[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapadd: dn="uid=someone,ou=users,o=somedomain.com" (line=44): (65) attribute 'c' not allowed
Daniel Campbell writes:
> I just upgraded my openldap from 2.1.25 to 2.2.23 but I am having
> problems with re-adding the users to it.
You had entries that violated the LDAP standard, and 2.2 apparently does
more error checking than 2.1:
> slapadd: dn="uid=someone,ou=users,o=somedomain.com" (line=44): (65)
> attribute 'c' not allowed
>
> What is really strange is that the 'locality' or 'l' attribute which is
> also defined in the core schema right next to 'countryName' or 'c'
> attribute works fine and has no complaints about being added.
http://www.openldap.org/faq/data/cache/650.html
The entry needs an object class which allows attribute 'c', or you must
remove 'c'. I'm not sure if there is a suitable object class in
etc/openldap/schema/. nadf.schema has 'nationalObject' which requires
'c', but I wonder what that class is supposed to mean. Anyway,
you could use it, or create your own (after getting your own OIDs,
see the schema faq <http://www.openldap.org/faq/data/cache/219.html>).
--
Hallvard