|
Lines 440-445
io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswdHandler *pass
Link Here
|
| 440 |
"match", |
440 |
"match", |
| 441 |
"1 numeric or special", |
441 |
"1 numeric or special", |
| 442 |
"failure", |
442 |
"failure", |
|
|
443 |
"change failed", |
| 443 |
"DIFFERENT", |
444 |
"DIFFERENT", |
| 444 |
"BAD PASSWORD", |
445 |
"BAD PASSWORD", |
| 445 |
NULL)) { |
446 |
NULL)) { |
|
Lines 497-502
io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswdHandler *pass
Link Here
|
| 497 |
else if (strstr (str->str, "DIFFERENT")) { |
498 |
else if (strstr (str->str, "DIFFERENT")) { |
| 498 |
error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_REJECTED, |
499 |
error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_REJECTED, |
| 499 |
_("The new password does not contain enough different characters")); |
500 |
_("The new password does not contain enough different characters")); |
|
|
501 |
} else if (strstr (str->str, "change failed") != NULL) { |
| 502 |
error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_CHANGE_FAILED, |
| 503 |
_("Password does not meet your organization's security policies. Try a different password or contact your system administrator.")); |
| 500 |
} |
504 |
} |
| 501 |
else { |
505 |
else { |
| 502 |
error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_UNKNOWN, |
506 |
error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_UNKNOWN, |