summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG4
-rw-r--r--modules/pam_unix/support.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 873fa13e..3c689f8c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -65,7 +65,9 @@ BerliOS Bugs are marked with (BerliOS #XXXX).
* pam_unix: don't log user unknown failure when he can be properly
authenticated by another module (t8m)
* configure: don't abort if no cracklib dictinaries were found, but
- warn user that pam_cracklib will not be built.
+ warn user that pam_cracklib will not be built (kukuk)
+* modules/pam_unix/support.c: Fix return value, if user aborts while
+ changes the password (Bug 872945 - kukuk)
0.78: Do Nov 18 14:48:36 CET 2004
diff --git a/modules/pam_unix/support.c b/modules/pam_unix/support.c
index cf01e3c2..84114884 100644
--- a/modules/pam_unix/support.c
+++ b/modules/pam_unix/support.c
@@ -897,7 +897,7 @@ int _unix_read_password(pam_handle_t * pamh
return PAM_AUTHTOK_RECOVER_ERR; /* didn't work */
} else if (on(UNIX_USE_AUTHTOK, ctrl)
&& off(UNIX__OLD_PASSWD, ctrl)) {
- return PAM_AUTHTOK_RECOVER_ERR;
+ return PAM_AUTHTOK_ERR;
}
}
/*