[Freeipa-devel] Fix regression in #1526 fix

2011-08-01 Thread Simo Sorce
I reopened #1526 as the fix intorduced a regression. The attached patch fixes it by correctly computing utctime when it needs to be used, previously it was calculated and then replaced by the call to compute the last password change so both attributes were being set to the same value regardless.

Re: [Freeipa-devel] Fix regression in #1526 fix

2011-08-01 Thread Rob Crittenden
Simo Sorce wrote: I reopened #1526 as the fix intorduced a regression. The attached patch fixes it by correctly computing utctime when it needs to be used, previously it was calculated and then replaced by the call to compute the last password change so both attributes were being set to the