mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Don't generate password history error if history is set to 0.
https://fedorahosted.org/freeipa/ticket/2805
This commit is contained in:
parent
191f514640
commit
3eadcdf123
@ -948,7 +948,7 @@ Slapi_Value **ipapwd_setPasswordHistory(Slapi_Mods *smods,
|
||||
data->policy.history_length,
|
||||
pwd_history, &new_pwd_history, &n);
|
||||
|
||||
if (ret) {
|
||||
if (ret && data->policy.history_length) {
|
||||
LOG_FATAL("failed to generate new password history!\n");
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user