How to modify multiple attributes with Ldap
(Last modified: 11Feb2003)
This document (10078011) is provided subject to the disclaimer at the end of this document.
goal
How to modify multiple attributes with Ldap
fact
Novell ConsoleOne
NDS Import/Export utility
ICE
symptom
Cannot change multiple attributes within one ldif record.
A single attribute can be changed.
Ice reports 0(zero) records processed.
fix
The following are examples of how to modify more than one attribute in a record. Notice the first example has a dash on its own line and that there is no second dn or change type like in example 2.
Example 1
#This LDIF file was generated by Novell's ICE and the LDIF destination handler.
version: 1
dn: cn=hduck,ou=gwsys,o=org
changetype: modify
replace: telephoneNumber
telephoneNumber: 123-4567
-
replace: employeeNumber
employeeNumber: ou812
Example 2
#This LDIF file was generated by Novell's ICE and the LDIF destination handler.
version: 1
dn: cn=hduck,ou=gwsys,o=org
changetype: modify
replace: telephoneNumber
telephoneNumber: 123-4567
dn: cn=hduck,ou=gwsys,o=organization
changetype: modify
replace: employeeNumber
employeeNumber: ou812
document
Document Title: | How to modify multiple attributes with Ldap |
Document ID: | 10078011 |
Solution ID: | NOVL85041 |
Creation Date: | 19Dec2002 |
Modified Date: | 11Feb2003 |
Novell Product Class: | NetWare Novell eDirectory |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.