[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Getting ldappasswd and PAM in the same page under CentOS 7
- To: centos@centos.org <centos@centos.org>
- Subject: Getting ldappasswd and PAM in the same page under CentOS 7
- From: Robert Heller <heller@deepsoft.com>
- Date: Tue, 19 Sep 2017 12:45:16 -0400 (EDT)
- Cc: Robert Heller <heller@deepsoft.com>, Openldap Technical <openldap-technical@openldap.org>
- Dkim-filter: OpenDKIM Filter v2.11.0 sharky3.deepsoft.com 65FA373236F
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deepsoft.com; s=deepsoft.com; t=1505839516; bh=SH2AXPNgu0YfdJNXTg+mlFtQCqXg0PIkPpiaODA5vF4=; h=From:Subject:To:Cc:Date:From; b=QeOQRUSNkEUUHnnYcAA6DKSCDYhodi3p36kvSix9/ke1uObV8L/EUDSwYdQiBqeIp yGqhtS+/yBfL+7iWxXEc9PMofdi9LUudy9B/fgBVKygM6r1n/prWjk+HaSwe8QfLUd ayvjJ1jFlfVp/7OyWpM1G+4wE3ySgdwgc2bRst8E=
- Organization: Deepwoods Software
I am having a hard time setting a user password using ldap (OpenLDAP
2.4.40-13.el7) on a CentOS 7 system.
I have installed OpenLDAP 2.4.40-13.el7 (stock CentOS 7 server and client),
nss-pam-ldapd (0.8.13-8.el7) and used authconfig to enable ldap. I have
created a user in the ldap database, and getent works just fine -- the uid and
gid are seen, etc. But I cannot set the user's password in a way that works
for su (and presumably login/slogin, etc.). I am using ldappasswd to set the
user's password.
I am thinking that PAM and ldappasswd are using *different* oneway encryption
methods and I am guessing I need to update a configuration somewhere (either
for pam, sssd, or nslcd), but I am not finding it.
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller@deepsoft.com -- Webhosting Services