Справочник Пользователя для Red Hat Version4.1

Скачать
Страница из 156
Chapter 5, Entry Types and Object Class Attributes 55
Object Class Attributes in Template Files
template Airiusperson person inetorgperson 
airiusperson
This instructs the gateway to display the Airiusperson entry type according 
to the template defined for the airiusPerson object class (display-
airiusperson.html).
7.
Update the Directory Server schema to include the airiusPerson object class.
8.
To allow users to add entries for Airiusperson using the gateway, add an 
additional newtype parameter to the dsgw.conf file. If this entry type is for 
display purposes only, no newtype parameter needs to be added.
See Also
Creating a New Parent Object Class
These steps are required when the object class is not a child of an existing 
object class. 
1.
Add a template parameter to dsgw.conf for the new object class.
template <newobjectclass>
This instructs the gateway to display the associated entry type according to 
the template defined for the new object class.
2.
To allow gateway users to add entries for the entry type, add an additional 
newtype parameter to the dsgw.conf file. If the associated entry type is for 
display purposes only, no newtype parameter needs to be added.
3.
Update the Directory Server schema to include the new object class.
4.
Add a search object entry to dsgwsearchprefs.conf and update 
dsgwfilter.conf so that the gateway searches for entries of this type. 
5.
Create a new search results form defining how the gateway displays search 
results for the new object class.