[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.1.23 and pam

You can try to add the following line to your /etc/pam.d/sshd

session	optional	pam_resmgr.so	ttyname

Roland Huber aka Darkcruix
GPG Fingerprint:
B350 42B8 557B 2B7F 0F2D  9C61 4194 371D B123 E2D9

On Mar 9, 2004, at 9:42 PM, Frank Thyes wrote:
# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp
# $
# PAM configuration for the "sshd" service

# auth
#auth     required     pam_nologin.so   no_warn no_fake_prompts
#auth     sufficient   pam_opie.so      no_warn no_fake_prompts
#auth     requisite    pam_opieaccess.so       no_warn allow_local
#auth     sufficient   pam_krb5.so     no_warn try_first_pass
#auth     sufficient   pam_ssh.so      no_warn try_first_pass
auth      sufficient   /usr/local/lib/pam_ldap.so no_warn
auth      required     pam_unix.so     no_warn try_first_pass