summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/chpw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/chpw.c b/src/lib/krb5/krb/chpw.c
index 76f415d4b..b67a58831 100644
--- a/src/lib/krb5/krb/chpw.c
+++ b/src/lib/krb5/krb/chpw.c
@@ -269,6 +269,9 @@ krb5_chpw_result_code_string(krb5_context context, int result_code,
case KRB5_KPASSWD_INITIAL_FLAG_NEEDED:
*code_string = _("Initial password required");
break;
+ case 0:
+ *code_string = _("Success");
+ break;
default:
*code_string = _("Password change failed");
break;