Correctly report if this is a krb related password operation

Fixes: https://fedorahosted.org/freeipa/ticket/949
This commit is contained in:
Simo Sorce
2011-02-11 15:48:20 -05:00
committed by Rob Crittenden
parent 77e1ef2f80
commit b46faf9dfc

View File

@@ -659,6 +659,7 @@ static int ipapwd_pre_mod(Slapi_PBlock *pb)
goto done;
}
pwdop->is_krb = is_krb;
pwdop->pwd_op = IPAPWD_OP_MOD;
pwdop->pwdata.password = slapi_ch_strdup(unhashedpw);
pwdop->pwdata.changetype = IPA_CHANGETYPE_NORMAL;