Novell is now a part of Micro Focus

Replacing Multiple Attributes with LDIF

Articles and Tips: tip

Paul Thompson
Novell, Inc.

01 Oct 2002

To replace multiple attributes, you need a separating line with a hyphen:

dn: cn=harry, OU=gryffindor, O=hogwarts
changetype: modify
replace: givenName
givenName: Harrytest
replace: description
description: Test description

This will modify both attributes for the DN that you specify.

* Originally published in Novell AppNotes


The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Micro Focus