自作クラスタ計算機:openldapを使ったldapサーバの基本設定

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
自作クラスタ計算機:openldapを使ったldapサーバの基本設定 [2026/07/09 01:36] – [LDAPクライアント] koudai自作クラスタ計算機:openldapを使ったldapサーバの基本設定 [2026/07/09 02:07] (current) – [LDAPクライアント] koudai
Line 234: Line 234:
     * LDAP server search base: dc=cluster,dc=internal     * LDAP server search base: dc=cluster,dc=internal
     * Name services to configure: passwd, group, shadow (スペースキーでチェックを入れられます)     * Name services to configure: passwd, group, shadow (スペースキーでチェックを入れられます)
-  - 管理ノードのみ実行<code>+  - 管理ノードのみ)PAM(Pluggable Authentication Modules)の認証設定<code>
 $ sudo pam-auth-update $ sudo pam-auth-update
 </code> </code>
     * 「LDAP Authentication」を有効化(通常は自動で有効化済み)     * 「LDAP Authentication」を有効化(通常は自動で有効化済み)
     * Create home directory on login を有効化     * Create home directory on login を有効化
-  - nscd+nslcdを再起動<code>+  - (管理ノードのみ)nscd+nslcdを再起動<code>
 $ sudo systemctl restart nslcd nscd $ sudo systemctl restart nslcd nscd
 </code> </code>
Line 376: Line 376:
  
 netgroup:       nis netgroup:       nis
-</file> 
-  - /etc/nslcd.confの最後にホスト検索ベースを追加<file - /etc/nslcd.conf> 
-(略) 
-base hosts ou=hosts,dc=example,dc=com 
 </file> </file>
   - nscd, nslcdの再起動<code>   - nscd, nslcdの再起動<code>
 $ sudo systemctl restart nslcd nscd $ sudo systemctl restart nslcd nscd
 +</code>
 +  - ホストが反映されているか確認<code>
 +$ getent hosts
 </code> </code>
  
自作クラスタ計算機/openldapを使ったldapサーバの基本設定.1783528574.txt.gz · Last modified: 2026/07/09 01:36 by koudai