Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

pam_ldap の設定いろいろ

ldap.conf は、Vine Linux では /etc/ldap.conf、Debian では /etc/pam_ldap.conf。前者がデフォルトの模様。

Debian で /etc/pam.d/ 以下の設定ファイルで他のファイルの内容を参照したいときは、例えば次のように書く。

# /etc/pam.d/common-auth ファイルを参照
@include common-auth 

Redhat 系では次のように書く。1 行単位で参照することになる模様。

# /etc/pam.d/system-auth ファイルを参照
auth       required     /lib/security/pam_stack.so service=system-auth