Hi,
I just suceeded to install and configure pam_ldap authentication on my
5.1Release box. Everything seems to work fine (ftp, telnet, samba, ...)
except for ssh.
Any attempt to login (as user whose account is defined in the LDAP
directory) from a remote host using ssh end up with the error message:
"Access denied". For users registered in /etc/passwd the ssh works fine.
There is no problem when login via telnet, ftp works fine as well but
the ssh doesn't.
The /etc/pam.d/sshd looks like:
# auth
authrequiredpam_nologin.so no_warn
authsufficient pam_opie.so no_warn
no_fake_prompts
authrequisite pam_opieaccess.so no_warn allow_local
authsufficient pam_ldap.so debug try_first_pass
authrequiredpam_unix.so no_warn
try_first_pass
# account
account requiredpam_login_access.so
account sufficient pam_ldap.so debug
account requiredpam_unix.so
# session
session requiredpam_permit.so
# password
passwordsufficient pam_ldap.so debug
passwordrequiredpam_unix.so no_warn
try_first_pass
--
Another problem is that commands like ls displays uid and gid as numbers
for files owned by LDAP users. On the other hand ftp displays them
correctly.
Any ideas how to fix that (especially in case of ssh) would be really
helpfull.
Thanks
Mira
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"