Sun Java System Directory Server Enterprise Edition 6.0 管理指南

Procedure定義模式檢查

  1. 表示伺服器實例應使用外部模式。


    $ dpconf set-server-prop -h host -p port use-external-schema:true
  2. 針對連線處理程式啟用模式檢查。


    $ dpconf set-connection-handler-prop -h host -p port connection-handler\
     schema-check-enabled:true
  3. 建立顯示 cn=schema 的資料檢視。

    如果在 LDAP 目錄中定義外部模式,請如建立與配置 LDAP 資料檢視中所述,建立檢視基底為 cn=schema 的 LDAP 資料檢視。

    如果在 LDIF 檔案中定義外部模式,請如建立與配置 LDIF 資料檢視中所述,建立檢視基底為 cn=schema 的 LDIF 資料檢視。

  4. 將此資料檢視增加至連線處理程式顯示的資料檢視清單中。

    依預設,連線處理程式顯示所有資料檢視。如果已定義連線處理程式顯示的自訂資料檢視清單,請將此資料檢視增加至清單中。您必須使用下列指令指定連線處理程式將顯示所有資料檢視。


    $ dpconf set-connection-handler-prop -h host -p port connection-handler \
     data-view-routing-custom-list:data-view-name data-view-routing-custom-list:data-view-name