diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2014-06-06 17:28:10 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2014-06-06 17:41:17 +0200 |
commit | 258d6714149435c984e10cdfb549fc12a4829740 (patch) | |
tree | f836a64c571534fcf0e3ef8de3a5d9d13ff47a3d /nslcd | |
parent | 8eeb1cc8165c13b870e5da7d19b8fe36a783d6af (diff) |
Fix password modification by root
This fixes 15fc13c.
Diffstat (limited to 'nslcd')
-rw-r--r-- | nslcd/pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/pam.c b/nslcd/pam.c index 96e045a..0eff71b 100644 --- a/nslcd/pam.c +++ b/nslcd/pam.c @@ -694,7 +694,7 @@ static int try_pwmod(MYLDAP_SESSION *oldsession, if (session == NULL) return LDAP_UNAVAILABLE; /* set up credentials for the session */ - if (myldap_set_credentials(session, userdn, oldpassword)) + if (myldap_set_credentials(session, binddn, oldpassword)) { myldap_session_close(session); return LDAP_LOCAL_ERROR; |