Re: ssh public key auth using pam_ldap
[Date Prev][Date Next] [Thread Prev][Thread Next]Re: ssh public key auth using pam_ldap
- From: Dan Finn <Dan.Finn [at] plansource.com>
- To: "Dana, Jason T." <Jason.Dana [at] jhuapl.edu>, "nss-pam-ldapd-users [at] lists.arthurdejong.org" <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: Re: ssh public key auth using pam_ldap
- Date: Tue, 28 Apr 2020 17:57:53 +0000
Hi Jason, We are doing this currently however we only allow public key authentication, password based authentication is disabled. I’m not sure if you can mix and match but this is what we went with. Here is a gist
with the relevant configs and some info that may be helpful: https://gist.github.com/danfinn/38fc588f4386724376b44db781ab0405 Dan From: nss-pam-ldapd-users <nss-pam-ldapd-users-bounces+dfinn=plansource.com@lists.arthurdejong.org> on behalf of "Dana, Jason T." <Jason.Dana@jhuapl.edu>
I am trying to configure pam and/or nslcd to query an AD/LDAP server when a user accesses a system via SSH using public key authentication. I have successfully configured nslcd to query the AD/LDAP server and filter on a specific group. Unfortunately it does not appear to apply if the user is accessing the system using public key authentication.
I have attempted a number of different sshd pam configuration changes and have added a pam_authz_search entry to nslcd.conf, but unfortunately none appear to be getting used. Is this even possible or am I going down the wrong route? Any help would be greatly appreciated! Thank you! Jason |
- ssh public key auth using pam_ldap,
Dana, Jason T.
- Re: ssh public key auth using pam_ldap,
Norman Gray
- RE: ssh public key auth using pam_ldap, Dana, Jason T.
- Re: ssh public key auth using pam_ldap, Dan Finn
- Re: ssh public key auth using pam_ldap,
Norman Gray
- Re: ssh public key auth using pam_ldap, Trent W. Buck
- Re: ssh public key auth using pam_ldap, Arthur de Jong
- <Possible follow-ups>
- RE: ssh public key auth using pam_ldap, Dana, Jason T.
- Prev by Date: RE: ssh public key auth using pam_ldap
- Next by Date: Re: ssh public key auth using pam_ldap
- Previous by thread: RE: ssh public key auth using pam_ldap
- Next by thread: Re: ssh public key auth using pam_ldap