Red Hat Training

A Red Hat training course is available for Red Hat Directory Server

15.23. Retro Changelog プラグインの使用

Retro Changelog プラグインは、Directory Server 4.x に実装された changelog との互換性を維持するように Directory Server を設定します。
注記
Directory Server 4.x 形式の changelog に依存するディレクトリークライアントの changelog を維持する必要がある場合は、Retrolog プラグインのみを有効にします。
Retro Changelog プラグインを使用するには、Directory Server インスタンスをシングルマスターレプリカとして設定する必要があります。
Directory Server が Retro Changelog を維持するように設定されていると、この changelog は特別な接尾辞 cn=changelog の下に別のデータベースに保存されます。
Retro Changelog は単一レベルのエントリーで構成されます。changelog の各エントリーには、オブジェクトクラス changeLogEntry があります。changelog エントリーで可能な属性の一覧は、『Red Hat Directory Server の設定、コマンド、およびファイルリファレンス』 の changelog 属性 セクションを参照してください。

15.23.1. Retro Changelog プラグインの有効化

Retro Changelog プラグインの設定情報は、dse.ldifcn=Retro Changelog Plugin,cn=plugins,cn=config エントリーに保存されます。コマンドラインから Retro Changelog プラグインを有効にするには、以下を実行します。
  1. 以下の LDIF 更新ステートメントが含まれる LDIF ファイルを作成します。
    dn: cn=Retro Changelog Plugin,cn=plugins,cn=config
    changetype: modify
    replace: nsslapd-pluginEnabled
    nsslapd-pluginEnabled: on
  2. ldapmodify コマンドを使用して、LDIF ファイルをディレクトリーにインポートします。
    # ldapmodify -D "cn=Directory Manager" -W -p 389 -h server.example.com -x -f retro.ldif
  3. サービスを再起動します。
    サーバーの再起動に関する情報は、「Directory Server インスタンスの起動および停止」 を参照してください。
Retro Changelog は、特別な接尾辞 cn=changelog 下のディレクトリーツリーに作成されます。
Directory Server コンソールから Retro Changelog プラグインを有効にする手順は、すべての Directory Server プラグインと同じです。詳細は、「Directory Server コンソールでプラグインの有効化」 を参照してください。