ユーザ用ツール

サイト用ツール


ldap

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
ldap [2026/04/17 05:23] – 作成 arakildap [2026/04/17 05:38] (現在) – [NSLCD] araki
行 75: 行 75:
  
 正しく読めていれば、LDAPに設定されているユーザのエントリーが /etc/passwdに加えて表示されるはずである。 正しく読めていれば、LDAPに設定されているユーザのエントリーが /etc/passwdに加えて表示されるはずである。
 +
 +==== NSLCD ====
 +
 +伝統的には、クライアント側では NSLCDを使用することが一般的であった。
 +
 +=== モジュール ===
 +
 +=== 設定 ===
 +
 +基本的には設定はパッケージのpost installation ステップで行われるので、nslcd.confを直接いじる必要はほとんどないと思われるが、何かあればここをいじることになる。
 +
 +<file ini nslcd.conf>
 +# /etc/nslcd.conf
 +# nslcd configuration file. See nslcd.conf(5)
 +# for details.
 +
 +# The user and group nslcd should run as.
 +uid nslcd
 +gid nslcd
 +
 +# The location at which the LDAP server(s) should be reachable.
 +uri ldaps://ldap.example.com ldap://192.168.10.1 ldap://192.168.10.2
 +
 +# The search base that will be used for all queries.
 +base dc=example,dc=com
 +
 +# The LDAP protocol version to use.
 +#ldap_version 3
 +
 +# The DN to bind with for normal lookups.
 +#binddn cn=annonymous,dc=example,dc=net
 +#bindpw secret
 +
 +# The DN used for password modifications by root.
 +#rootpwmoddn cn=admin,dc=example,dc=com
 +
 +# SSL options
 +#ssl off
 +#tls_reqcert never
 +tls_cacertfile /etc/ssl/certs/ca-certificates.crt
 +
 +# The search scope.
 +#scope sub
 +</file>
 +
 +/etc/nsswitch.conf については sssd の場合と同じで、基本的には必要な場所に ldapが追加されているので、特別に何かを追加したいのでなければほっておいて構わない。
 +
 +
  
ldap.1776403399.txt.gz · 最終更新: by araki