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

Re: Change OID of existing custom Attribute



On 9/25/19 12:02 PM, Tobias Hachmer wrote:
> running here OpenLDAP 2.4.42 on Ubuntu 16.04 with a hdb Database.
> 
> Some old admin have added 2 custom attributes to the standard
> nis.schema, years ago. For this OIDs from nis schema has been chosen
> (1.3.6.1.1.1.1.2.x).
> 
> I would like to fix that:
> Is it possible to move these custom Attributes to our custom Schema,
> while changing OIDs, also? Or do we have to clear the data DB, move the
> attrs and reimport a data backup?

It might work with back-hdb to change the OID.

IIRC back-mdb needs export / re-import to make the OID change.

Test, test, test... ;-)

Ciao, Michael.