Using LDAP/LDIF to add or delete attributes
(Last modified: 14Dec2004)
This document (10084323) is provided subject to the disclaimer at the end of this document.
goal
Using LDAP/LDIF to add or delete attributes
fact
Novell eDirectory 8.5 for All Platforms
Novell eDirectory 8.6 for All Platforms
Novell eDirectory 8.7 for All Platforms
note
In cases where you wish to delete or modify a large number of objects, it is often a best practice to utilize the power of LDAP and LDIF to do so. Below is a list of example syntax for modifying objects with either an add of an attribute or delete of an attribute.
Deleting all attribute values for a specific attribute:
dn: cn=user,ou=container,o=organization
Deleting specific values of a multi-valued attribute for users:
dn: cn=user,ou=container,o=organization The main difference to focus on here is that you specify the specific value of the attribute to be deleted. If you do not specify a specific value then all values of the attribute "title" will be deleted. Adding an attribute to a user: dn: cn=user,ou=container,o=oranization A shortcut you can use for making multiple modifications to the same user object is the "-" character. This tells the server that the modification is for the same dn. dn: cn=user,ou=container,o=oranization 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.
document
Document Title: Using LDAP/LDIF to add or delete attributes Document ID: 10084323 Solution ID: NOVL90411 Creation Date: 18Jun2003 Modified Date: 14Dec2004 Novell Product Class: NetWare
Novell eDirectorydisclaimer
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.