Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
LDAP ホストのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
LDAP ホスト
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ネットワーク]] [[en:LDAP Hosts]] {{Related articles start}} {{Related|OpenLDAP}} {{Related|LDAP 認証}} {{Related articles end}} この文章では LDAP サーバーに {{ic|etc/hosts}} を配置する方法を説明します。まずは LDAP サーバーをセットアップして立ち上げてください ([[LDAP 認証]]を参照)。それから {{ic|/etc/hosts}} から適切な ldif ファイルを作成します。例: 127.0.0.1 localhost 192.168.1.1 gojira.marex.local gojira 192.168.1.50 gamera.marex.local gamera 192.168.1.51 iris.marex.local iris 192.168.1.52 zedan.marex.local zedan {{ic|127.0.0.1}} はローカルホスト、{{ic|192.168.1.1}} は LDAP サーバーで、後の3つはワークステーションです (gamera, iris, zedan)。ldif ファイルには ou を作成する必要があります (以下のファイルを {{ic|hosts.ldif}} として保存します): dn: ou=Hosts,dc=marex,dc=local objectClass: organizationalUnit objectClass: top ou: Hosts dn: cn=gojira+ipHostNumber=192.168.1.1,ou=Hosts,dc=marex,dc=local objectClass: ipHost objectClass: device objectClass: top cn: gojira ipHostNumber: 192.168.1.1 dn: cn=gamera+ipHostNumber=192.168.1.50,ou=Hosts,dc=marex,dc=local objectClass: ipHost objectClass: device objectClass: top cn: gamera ipHostNumber: 192.168.1.50 dn: cn=iris+ipHostNumber=192.168.1.51,ou=Hosts,dc=marex,dc=local objectClass: ipHost objectClass: device objectClass: top cn: iris ipHostNumber: 192.168.1.51 dn: cn=zedan+ipHostNumber=192.168.1.52,ou=Hosts,dc=marex,dc=local objectClass: ipHost objectClass: device objectClass: top cn: zedan ipHostNumber: 192.168.1.52 そして LDAP サーバーにファイルを配置してください: $ ldapadd -x -W -D 'cn=ldapadmin,dc=marex,dc=local' -h 192.168.1.1 -p 389 -f hosts.ldif ... adding new entry "cn=zedan+ipHostNumber=192.168.1.52,ou=Hosts,dc=marex,dc=local" 全てが完了したら {{ic|/etc/nss_ldap.conf}} を編集して {{ic|nss_base_hosts}} から始まる行を以下のように変更します: nss_base_hosts ou=Hosts,dc=marex,dc=local?one localhost と LDAP サーバー、存在するワークステーションについて {{ic|/etc/hosts}} を変更してください。以下は gamera ワークステーションでの例です: 127.0.0.1 localhost 192.168.1.1 gojira.marex.local gojira 192.168.1.50 gamera.marex.local gamera LDAP サーバーではワークステーションは無視してかまいません。最後に {{ic|/etc/hosts}} の hosts エントリを編集: hosts: files dns ldap 設定をテスト: $ getent hosts 127.0.0.1 localhost 192.168.1.1 gojira.marex.local gojira 192.168.1.50 gamera.marex.local gamera 192.168.1.1 gojira 192.168.1.50 gamera 192.168.1.51 iris 192.168.1.52 zedan 最初の3行は {{ic|/etc/hosts}} 由来で、後の4行は LDAP サーバー由来です。最後に LDAP に ping が通るか確認してください: $ ping iris PING iris (192.168.1.51) 56(84) bytes of data. ...
このページで使用されているテンプレート:
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
LDAP ホスト
に戻る。
検索
検索
LDAP ホストのソースを表示
話題を追加