URL:
https://github.com/freeipa/freeipa/pull/5288
Author: ptrNine
Title: #5288: ipa-kdb: handle dates up to 2106-01-01 00:00
Action: opened
PR body:
"""
krb5 uses negative part of `krb5_timestamp` to store time values after 2038
https://k5wiki.kerberos.org/wiki/Projects/Timestamps_after_2038
In other words, krb5 uses `krb5_timestamp` (signed int) with unsigned arithmetic for
expanding of the timestamp time range.
This commit:
- adds some helper functions for working with `krb5_timestamp` as unsigned (actually
copied from the link above)
- replaces operations with `krb5_timestamp`'s by these new functions
- sets `IPAPWD_END_OF_TIME` to `4291747200L` (1 Jan 2106, 00:00 GMT)
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5288/head:pr5288
git checkout pr5288