openldap ssh problem

Monah Baki mbaki at whywire.net
Thu Jul 10 15:49:05 PDT 2003


Hi all,

I'm just installed freebsd 5.1 running openldap and pam_ldap from 
padl.com.

I created a userid and made sure he had 2 different password in 
/etc/passwd and in the openldap database.

I was able to ssh using the openldap database password when the user 
exist locally (/etc/passwd), but when I deleted his local account, I 
can no longer ssh using the openldap database password.


my /etc/pam.d/ssh file:

auth       sufficient   pam_ldap.so
auth       required     pam_nologin.so
auth       required     pam_unix.so

account    sufficient   pam_ldap.so
account    required     pam_unix.so

session    sufficient   pam_ldap.so
session    required     pam_unix.so

password   sufficient   pam_ldap.so
password   required     pam_unix.so

Am I missing anything????



Thank you.



More information about the freebsd-questions mailing list