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

RE: attribute problems

thanks for the advice,

just tried it now and I am still getting the same error:

modifying entry "o=kwe.com"
ldap_modify: Object class violation
	additional info: attribute 'copiedFrom' not allowed

ldif_record() = 65

-----Original Message-----
From: Armin Wenz [mailto:awenz@mtgnet.de]
Sent: 05 August 2002 11:03
To: nathaneal gaggiano
Subject: Re: attribute problems

nathaneal gaggiano wrote:
> trying to add the following attribute to my schemas 'copiedFrom' and it
> accepts this.
> But when I try and add the attribute when slapd is running I get attribute
> not ALLOWED.
> Is there a way round this, the attribute is as follows :
> attributetype (2.16.840.1.113730.3.18.6 NAME 'copiedFrom' DESC'Standard
> Attribute' SYNTAX ''

I suggest you already got a value for 'copiedFrom'

Then you forgot the EQUALITY filter definition. Without this you can
only replace an attributevalue (or all values for this attribute),
delete or add value(s) (if none exists)

So define your attribute like this
attributetype (2.16.840.1.113730.3.18.6
   NAME 'copiedFrom'
   DESC'Standard Attribute'
   EQUALITY caseIgnoreMatch
   SYNTAX ''

Have a look at RFC2252 8.1 for valid equality filters.


Armin Wenz