1

I need to update for some thousand entries the name of an LDAP attribute, eg. cn=myentry,ou=people,o=mycompany has an attribute like surname and it shall be renamed to lastname and preserve the value.

Any clue how to achieve this with ldiff-commands? Just to be clear I don't want to rename the rdn but the attribute name.

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199

1 Answers1

2
  1. Ensure that the new attribute name is in the schema
  2. Export existing data
  3. Change attribute names in exported LDIF
  4. Import modified LDIF
Terry Gardner
  • 10,957
  • 2
  • 28
  • 38