[Freeipa-devel] [PATCH] 676 rpcserver: fix local vs utc time comparison

Jan Cholasta jcholast at redhat.com
Wed Jun 25 15:36:26 UTC 2014


Hi,

On 24.6.2014 16:02, Petr Vobornik wrote:
> login_password did not work properly in timezones other than +0h because
> local time was compared with utc time.

ACK.

>
> Bug introduced in:
> https://fedorahosted.org/freeipa/ticket/4339
>
> We should review other code for invalid usage of datetime.now()

All other uses of datetime.now() predate LDAP datetime decoding, so I 
think we are fine.

Honza

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list