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

Re: Problem when trying to add an entry.



On 1/19/07, Jean-Yves Avenard <jyavenard@gmail.com> wrote:
Hello

Context: I am trying to add an entry to the field GPG/Key in turba,
which is using an OpenLDAP backend.

The entry in question is of type:
turbaPGPPublicKey

define as in the schema as:

attributetype ( 1.3.6.1.4.1.13040.4.1.4
        NAME 'turbaPGPPublicKey'
        DESC 'PGP/GPG Public Key'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4000} )

The error I get in OpenLDAP is:
Entry (cn=common
name,ou=avenardj,ou=personal_addressbook,dc=hydrix,dc=com), attribute
'turbaPGPPublicKey' not allowed
entry failed schema check: attribute 'turbaPGPPublicKey' not allowed
conn=19 op=3 RESULT tag=103 err=65 text=attribute 'turbaPGPPublicKey'
not allowed

I can't see what the issue could be.
How does the turbaPHPPublicKey attribute should be defined?



Did you 'include' the necessary schema in your slapd.conf?
Does your LDIF for the add include the objectclass required for
turbaPHPPublicKey?