ユーザ用ツール

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
ldap [2026/04/17 05:29] – [SSSD] arakildap [2026/04/17 05:38] (現在) – [NSLCD] araki
行 84: 行 84:
 === 設定 === === 設定 ===
  
 +基本的には設定はパッケージの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が追加されているので、特別に何かを追加したいのでなければほっておいて構わない。
  
  
  

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information