清水川です。 うまく動いている例としてうちの設定内容を書きます。
OS:
FreeBSD 5.3-Security
LDAP関連パッケージ:
openldap-client-2.2.30
openldap-server-2.2.30
pam_ldap-1.8.2
nss_ldap-1.251_1
/usr/local/etc/nss_ldap.conf
host 127.0.0.1
uri ldap://127.0.0.1/
base dc=example,dc=com
scope sub
rootbinddn cn=Manager,dc=example,dc=com
全て単一サーバーで稼働しています。
佐々木さんの設定との差異としては、uriに ldapi:// を使っていない
ところでしょうか。自分もldapi(socket接続)だとうまくいかなくて
ldap:// に変えたような気がします。
# 蛇足ですが、pamの検証にはpamtesterが便利です。
--
清水川.jp
