We have just implemented an LDAP solution for our lab. All of the LDAP client machines still have files ldap
(or files sss
) in their nsswitch.conf
for the time being (so local authentication first), and a lot of the local accounts have already been transferred to LDAP directory.
Until we switch to authentication only through LDAP, is there any way that when a user changes their password it can be updated both on the LDAP server and locally (if the user has a local account)?
Eg: user1
has a local account on server1
and an account on LDAP. If user1
runs passwd
, is there any way to update the password both locally and on LDAP?
Thank you for any feedback!