Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Guida di Installazione Pagina 59

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 58
Object Class Attributes in Template Files
Chapter 5 Editing Entry Types 63
2. Edit the third line in the template file to indicate the name of the new directory entry
type. Change:
<!-- inet. organizational person directory entry -->
to
<!-- example person directory entry -->
3. Edit the DS_OBJECTCLASS directive to include the new object class. Change:
<!-- DS_OBJECTCLASS "value=person,inetOrgPerson" -->
to
<!-- DS_OBJECTCLASS "value=person,inetOrgPerson,
exampleperson" -->
4.
Add the value for exampleperson to the input type.
<!-- 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 directive:
<!-- ENDIF // Adding -->
5.
Add a new table row containing the dateOfBirth and preferredOS attribute-value
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.
Vedere la pagina 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 131 132

Commenti su questo manuale

Nessun commento