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

Re: UNKNOWN attributeDescription "ATTRIBUTE1" inserted



Is "cleaning" my data somewhere like a slapcat and slapadd? This is a replicated environment. Will those changes be propagated? I'd think not as the import probably keeps the same timestamps.

2016-08-26 16:47 GMT+02:00 PenguinWhispererThe . <th3penguinwhisperer@gmail.com>:
Thanks for your response Michael. That is indeed what happened. So I'm looking to get those invalid entries removed.
The question is: how can I fix my data? Is there some documentation about this? Some specific tools?

As mentioned I can't see those entries using slapcat it seems. So not sure how to locate/remove them.

Thanks in advance!

2016-08-19 19:54 GMT+02:00 Michael Ströder <michael@stroeder.com>:
PenguinWhispererThe . wrote:
> Hi all. It's been a while since I posted this. Still seems to be an issue.
> Can anyone give some pointers?

Probably you had old attribute type descriptions with that names in your
subschema which were removed. But the attributes are still there. Fix your data.
Only you can know what those attributes were used for.

Ciao, Michael.


> On Jun 17, 2016 4:33 PM, "PenguinWhispererThe" <
> th3penguinwhisperer@gmail.com> wrote:
>
>> Hi all,
>>
>> I've been trying to update a schema with new olcAttributeTypes and
>> modified an existing objectClass (X) so these attributesTypes may be used
>> with it.
>>
>> However after adding these attributes to objectClass X I did a "rollback"
>> (replacing the current olcObjectClasses (replace: olcObjectClasses) with
>> the old definition and the same for the olcAttributes (replace:
>> olcAttributeTypes).
>>
>> I think somewhere along the way something wasn't cleaned up properly.
>> Now when I start slapd service I get:
>> slapd[21335]: UNKNOWN attributeDescription "ATTRIBUTE1        " inserted.
>> slapd[21335]: UNKNOWN attributeDescription "ATTRIBUTE2" inserted.
>> slapd[21335]: [66B blob data]
>>
>> With slapschema:
>> UNKNOWN attributeDescription "ATTRIBUTE1       " inserted.
>> UNKNOWN attributeDescription "ATTRIBUTE2" inserted.
>> UNKNOWN attributeDescription "ATTRIBUTE3
>>
>> With slapcat I can't find anything that's matching these names.
>>
>> When I grep in the mdb file grep says the binary file is matching.
>> However when I ldapsearch for the attribute I can't find it.
>> Neither with slapcat.
>>
>> Note that I replaced the actual attribute names in the posted output.
>>
>> So I think I might have some data in that mdb that's not linked to
>> anything anymore.
>> So my question is: how can I clean this up? And/or what did/went wrong?
>>
>> Thanks in advance for your help.