nss-pam-ldapd commit: r1941 - nss-pam-ldapd-0.8/pam
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1941 - nss-pam-ldapd-0.8/pam
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1941 - nss-pam-ldapd-0.8/pam
- Date: Sun, 28 Apr 2013 14:16:39 +0200 (CEST)
Author: arthur
Date: Sun Apr 28 14:16:39 2013
New Revision: 1941
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1941&view=revision
Log:
revert r1939 because it doesn't work on 0.8
Modified:
nss-pam-ldapd-0.8/pam/pam.c
Modified: nss-pam-ldapd-0.8/pam/pam.c
==============================================================================
--- nss-pam-ldapd-0.8/pam/pam.c Sun Apr 28 13:29:52 2013 (r1940)
+++ nss-pam-ldapd-0.8/pam/pam.c Sun Apr 28 14:16:39 2013 (r1941)
@@ -2,7 +2,7 @@
pam.c - pam module functions
Copyright (C) 2009 Howard Chu
- Copyright (C) 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+ Copyright (C) 2009, 2010, 2011, 2012 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -443,7 +443,7 @@
/* save username */
ctx->user=strdup(username);
/* if password change is required, save old password in context */
- if
((resp.res==PAM_NEW_AUTHTOK_REQD)||(ctx->saved_authz.res==PAM_NEW_AUTHTOK_REQD))
+ if (ctx->authz==PAM_NEW_AUTHTOK_REQD)
ctx->oldpassword=strdup(passwd);
/* update caller's idea of the user name */
if ( ctx->tmpluser && ctx->tmpluser[0] &&
(strcmp(ctx->tmpluser,username)!=0) )
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1941 - nss-pam-ldapd-0.8/pam,
Commits of the nss-pam-ldapd project