Red Hat Directory Server 8.0 Administrator's Guide

Before you can add an attribute to an entry, the entry must contain an object class that either
requires or allows the attribute. refer to Section 1.3.2, “Adding an Object Class to an Entry” and
Chapter 9, Extending the Directory Schema for more information.
Add an attribute to an entry as follows:
1. In the Directory tab of the Directory Server Console, right-click the entry to modify, and
select Advanced from the pop-up menu.
Alternatively, double-click the entry to open the Property Editor, and then click the
Advanced button.
2. Click Add Attribute. The Add Attribute dialog box opens.
3. Select the attribute to add from the list, and click OK.
The Add Attribute window is dismissed, and the selected attribute appears in the list of
attributes in the Advanced Property Editor.
4. Type in the value for the new attribute in the field to the right of the attribute name.
5. Click OK in the Advanced Property Editor to save the attribute to the entry and close the
Advanced Property Editor.
Click OK to close the Property Editor.
NOTE
If the attribute you want to add is not listed, add the object class containing the
attribute first, then add the attribute. See Section 1.3.2, “Adding an Object Class
to an Entry” for instructions on adding an object class.
1.3.5. Adding Very Large Attributes
The configuration attribute nsslapd-maxbersize sets the maximum size limit for LDAP
requests. The default configuration of Directory Server sets this attribute at 2 megabytes. LDAP
add or modify operations will fail when attempting to add very large attributes that result in a
request that is larger than 2 megabytes.
To add very large attributes, first change the setting for the nsslapd-maxbersize configuration
attribute to a value larger than the largest LDAP request you will make.
When determining the value to set, consider all elements of the LDAP add and modify
operations used to add the attributes, not just the single attribute. There are a number of
different factors to considerin, including the following:
Chapter 2. Creating Directory Entries
20