[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapadd: dn="uid=someone,ou=users,o=somedomain.com" (line=44): (65) attribute 'c' not allowed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel Campbell wrote:
> 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. I am getting the following error:
>
> 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.
But, no standard "person" objectclass allows the attribute c (although
they allow l). With the schemas I have available, the only objectclass
that uses 'c' is 'country'.
> Does
> anyone have any suggestions?
Extend a "person" objectclass, or make an auxiliary objectclass that
allows 'c', or use other attribute names which are provided for in the
objectclasses you use.
Also, you may want to use software which has a schema browser available,
so you can check these things for yourself (they're normally a bit
faster to use than 'grep -ir <path to schema directory>').
Regards,
Buchan
- --
Buchan Milne Senior Support Technician
Obsidian Systems http://www.obsidian.co.za
B.Eng RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCOSkurJK6UGDSBKcRAmtzAJ0R7aaRFNstdALhGtXzLtDp7zxMMgCfZDX6
WaF/9/xoLNXm2l14dL4Fobg=
=B93B
-----END PGP SIGNATURE-----