您可以使用 DSCC 執行此作業。如需有關資訊,請參閱目錄服務控制中心介面與 DSCC 線上說明。
檢視請求篩選策略的特性。
$ dpconf get-request-filtering-policy-prop -h host -p port policy-name |
請求篩選策略的預設特性如下:
allow-add-operations : true allow-bind-operations : true allow-compare-operations : true allow-delete-operations : true allow-extended-operations : true allow-inequality-search-operations : true allow-modify-operations : true allow-rename-operations : true allow-search-operations : true allowed-comparable-attrs : all allowed-search-scopes : base allowed-search-scopes : one-level allowed-search-scopes : subtree allowed-subtrees : "" description : - prohibited-comparable-attrs : none prohibited-subtrees : none |
透過設定步驟 1 中所列的一或多個特性,配置請求篩選策略。
$ dpconf set-request-filtering-policy-prop -h host -p port policy-name \ property:value [property:value ...] |
透過設定步驟 1 中所列的特性,可以配置請求篩選策略的下列功能:
允許用戶端執行的作業類型
顯示給用戶端或向用戶端隱藏的子樹狀結構
搜尋作業的範圍
搜尋篩選的類型
搜尋和比較作業中可以比較或無法比較的屬性類型