Using the Domino® Directory to extend the LDAP schema
To add schema elements to the Domino® LDAP schema, you can create forms and subforms in the Domino® Directory, or you can use the Domino® LDAP Schema database (SCHEMA.NSF).
延伸綱目的較佳方法是使用「綱目」資料庫。 Use the Domino® Directory to extend the schema only if Notes® or Web users require access to the entries created from the new schema elements through documents in the directory. If only LDAP access to entries defined by the new schema elements is required, instead use the Domino® LDAP Schema database to extend the schema.
You can use the Domino® Directory to:
- 建立新的 LDAP 結構化物件類別
- 配置要繼承的新 LDAP 結構化物件類別
- 建立新的 LDAP 輔助物件類別
- 定義新物件類別的 LDAP 屬性
若要新增屬性至預設綱目中定義的物件類別,請不要直接新增屬性至物件類別。而要執行下列其中一項:
- 建立輔助物件類別來定義新的屬性,然後將輔助物件類別新增至預設物件類別
- 建立具有新屬性的新結構化物件類別,然後從預設物件類別中配置要繼承的新物件類別
Using the Domino® Directory to enable LDAP-standard entries to be visible as documents
The LDAP-standard schema elements defined in the default LDAP schema through the LSCHEMA.LDIF file do not correlate to forms and fields in the Domino® Directory. For example, the object class residentialPerson does not correlate to a form in the Domino® Directory.依預設,您僅可以使用 LDAP 作業來建立和存取由這些標準 LDAP 綱目元素所定義的目錄項目。
If you want to display LDAP-standard entries such as these in documents that are visible to Notes® and Web users, you can follow the same steps that describe how to use the Domino® Directory to extend the schema. For example, to create a form to hold values for entries defined by the residentialPerson object class, follow the steps described in the procedure Using the Domino® Directory to create a new LDAP structural object class in the related links.在此情況下,不要使用表單來定義物件類別,物件類別已經在 LSCHEMA.LDIF 檔案中定義。相反的,您要使用表單,這樣由物件類別所定義的項目便可以文件顯示。 If you do this, make sure to define the schema elements exactly as the Domino® LDAP Schema database (SCHEMA.NSF) shows them to be defined.) 顯示的完全相同定義方式來定義綱目元素。