検索

19.11.4.2. 自動バインドの設定

download PDF
自動バインドのみを設定すると、Directory Server への匿名アクセスが可能になります。Unix ユーザーのエントリーへのマッピングを有効にし、root を Directory Manager にマップすることもできます。
  1. ldapmodify を実行して Directory Server 設定を更新します。
    #ldapmodify -D "cn=Directory Manager" -W -p 389 -h server.example.com -x
    
    dn: cn=config
    changetype: modify
  2. autobind を有効にします。
    replace: nsslapd-ldapiautobind
    nsslapd-ldapiautobind: on
  3. ユーザーエントリーをマッピングするには、以下の 4 つの属性を追加します。
    • nsslapd-ldapimaptoentries エントリーマッピングを有効にするには、以下を実行します。
    • nsslapd-ldapiuidnumbertype Directory Server 属性を Unix UID 番号にマッピングするように設定するには、
    • nsslapd-ldapigidnumbertype Unix グループ ID 番号にマップする Directory Server 属性を設定します。
    • nsslapd-ldapientrysearchbase Directory Server ユーザーエントリーの検索に使用する検索ベースを設定します。
    add: nsslapd-ldapimaptoentries
    nsslapd-ldapimaptoentries: on
    -
    add: nsslapd-ldapiuidnumbertype
    nsslapd-ldapiuidnumbertype: uidNumber
    -
    add: nsslapd-ldapigidnumbertype
    nsslapd-ldapigidnumbertype: gidNumber
    -
    add: nsslapd-ldapientrysearchbase
    nsslapd-ldapientrysearchbase: ou=people,dc=example,dc=com
  4. root エントリーを Directory Manager にマッピングするには、nsslapd-ldapimaprootdn 属性を追加します。
    add: nsslapd-ldapimaprootdn
    nsslapd-ldapimaprootdn: cn=Directory Manager
  5. サーバーを再起動して、新しい設定を適用します。
    # systemctl restart dirsrv@instance
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.