![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/4/08/408fc66f-545a-41a7-ae73-395ba2503b98/408fc66f-545a-41a7-ae73-395ba2503b98-bg44.png)
Object Class Attributes in Template Files
50 Netscape Directory Server Gateway Customization Guide
Note UID-based DN formats are recommended because they are by nature unique
and can prevent naming collisions within the directory.
Modifying the Default DN format
The default DN format can be modified by editing the rdnattr variable within
the newtype parameter.
To change the gateway configuration so that person entries are created using
common name-based DNs rather than user ID-based DNs, edit the following
line in the dsgw.conf file
newtype orgperson “Person” uid people special
to read
newtype orgperson “Person” cn people special
Object Class Attributes in Template Files
Default Gateway Object Classes
The default gateway supports the object classes listed in Table 5.1.
Table 5.1 Default Object Classes
Default Gateway Object Class Related Template File
groupOfNames display-group.html
groupOfUniqueNames display-groupun.html
ntGroup display-ntgroup.html
organization display-org.html
organizationalUnit display-orgunit.html
person display-person.html
inetOrgPerson display-orgperson.html
ntUser display-ntuser.html
country display-country.html