[SOLVED] Getting RHEL 4 to allow LDAP password changes
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an OpenLDAP server installed on RHEL 5.7. We are still in the testing phase of the project. I have test clients for RHEL 5 and 6 that authenticate and allow password changes so I know that the server configuration is good. On the RHEL 4 client however, I can authenticate but it will not allow me to change the password. The error I get is here:
LDAP password information update failed: Can't contact LDAP server
Must supply old password to be changed as well as new one
passwd: Permission denied
I found a bug fix on Red Hat's website for nss_ldap that was supposed to fix this issue but it did not fix it. Any thoughts? My ldap.conf follows (I used SSSD on 5 and 6 so I didn't have to use this file):
timelimit 120
bind_timelimit 120
bind_policy hard
idle_timelimit 3600
pam_filter objectclass=posixAccount
pam_login_attribute uid
pam_lookup_policy yes
pam_password md5
nss_base_passwd ou=people,dc=prod,dc=example,dc=com?one
nss_base_shadow ou=people,dc=prod,dc=example,dc=com?one
nss_base_group ou=groups,dc=prod,dc=example,dc=com?one
pam_password exop
ssl start_tls
tls_cacertdir /etc/openldap/cacerts
nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus
host servername
base dc=prod,dc=example,dc=com
Unfortunately, the site you posted is pretty much a beginner site, and while I did verify the file against my own, I know that there are no firewall rules blocking the traffic. It is in the same IP space as the RHEL 5 and RHEL 6 boxes that are able to change passwords.
Yes, I know that it is no longer supported, normally. We do have extended support thankfully, and I have put in a support case in the hope that they may be able to shed some light on the issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.