lists.arthurdejong.org
RSS feed

Re: Issues w/ LDAP & PAM on Ubuntu 22.04

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: Issues w/ LDAP & PAM on Ubuntu 22.04



On Mon, 2023-12-11 at 11:24 -0700, Philip Prindeville wrote:
> I'm using LDAP (slapd) on a remote Ubuntu server, and my client is
> configured to use nss_ldap and nslcd.

On Ubuntu you most likely want to install both libnss-ldapd and libpam-
ldapd (note the extra d at the end). Those use nslcd which is
configured via /etc/nslcd.conf.

You appear to be using libpam-ldap (judging from the logs).

https://arthurdejong.org/nss-pam-ldapd/setup contains some debugging
tips (e.g. first check that the NSS part works with `getent passwd`).


Hope this helps,

-- 
-- arthur - arthur@arthurdejong.org - https://arthurdejong.org/ --