10.2. コマンドラインを使用したコンポーネント操作の連鎖
コマンドラインを使用して、チェーンを許可するコンポーネントを追加できます。
手順
チェーンに追加するコンポーネントを指定します。
# dsconf -D "cn=Directory Manager" ldap://server.example.com chaining config-set \ --add-comp="cn=referential integrity postoperation,cn=components,cn=config"インスタンスを再起動します。
# dsctl instance_name restart操作を連鎖させるリモートサーバーの接尾辞に ACI を作成します。
# ldapmodify -D "cn=Directory Manager" -W -H 389 remoteserver.example.com -x dn: ou=People,dc=example,dc=com changetype: modify add: aci aci: (targetattr = "*")(target="ldap:///ou=customers,ou=People,dc=example,dc=com") (version 3.0; acl "RefInt Access for chaining"; allow (read,write,search,compare) userdn = "ldap:///cn=referential integrity postoperation,cn=plugins,cn=config";)
検証
連鎖が許可されているコンポーネントを表示します。
# dsconf -D "cn=Directory Manager" ldap://server.example.com chaining config-set \ --add-comp="cn=referential integrity postoperation,cn=components,cn=config"