Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Manual page 59

Gateway customization guide
Table of Contents

Advertisement

Edit the third line in the template file to indicate the name of the new directory entry
2.
type. Change:
<!-- inet. organizational person directory entry -->
to
<!-- example person directory entry -->
Edit the
3.
DS_OBJECTCLASS
<!-- DS_OBJECTCLASS "value=person,inetOrgPerson" -->
to
<!-- DS_OBJECTCLASS "value=person,inetOrgPerson,
exampleperson" -->
Add the value for
4.
exampleperson
<!-- IF "Adding" -->
<INPUT TYPE="hidden" NAME="add_objectClass" VALUE="top">
<INPUT TYPE="hidden" NAME="add_objectClass" VALUE="person">
<INPUT TYPE="hidden" NAME="add_objectClass"
VALUE="organizationalPerson">
<INPUT TYPE="hidden" NAME="add_objectClass"
VALUE="inetOrgPerson">
<INPUT TYPE="hidden" NAME="add_objectClass"
VALUE="exampleperson">
Be sure to add the line immediately before the
<!-- ENDIF // Adding -->
Add a new table row containing the
5.
pairs.
<TR>
<TD VALIGN="TOP">Date of Birth:</TD>
<TD VALIGN="TOP"><B>
<!-- DS_ATTRIBUTE "attr=dateOfBirth" "cols=>8" -->
</B></TD>
<TD VALIGN="TOP">Preferred OS</TD>
<TD VALIGN="TOP"><B>
<!-- DS_ATTRIBUTE "attr=preferredOS" "cols=>6" -->
</B></TD></TR>
For more information on adding attributes, see "Object Class Attributes in Template
Files," on page 59.
directive to include the new object class. Change:
to the input type.
ENDIF
dateOfBirth
Object Class Attributes in Template Files
directive:
and
attribute-value
preferredOS
Chapter 5
Editing Entry Types
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents