Univention Bugzilla – Bug 53574
UDM users/user lockedTime unmap broken in Python 3
Last modified: 2021-08-04 16:25:43 CEST
The unmapping of UDM users/user "lockedTime" is broken in Python 3: A value 0 always gets unmapped as "16010101000000Z". >>> u['lockedTime'] '16010101000000Z' >>> u.oldattr['sambaBadPasswordTime'] [b'0']
Fixed in: univention-directory-manager-modules.yaml 559a316c1cca | Bug #53574: fix Python 3 compatibility of users/user unmapWindowsFiletime() mapWindowsFiletime() univention-directory-manager-modules (15.0.11-12) 559a316c1cca | Bug #53574: fix Python 3 compatibility of users/user unmapWindowsFiletime() mapWindowsFiletime()
OK sambaBadPasswordTime: 0 udm users/user list --filter username=test1| grep lockedTime lockedTime: 0 sambaBadPasswordTime: 132707401590000000 udm users/user list --filter username=test1| grep lockedTime lockedTime: 20210714124239Z sambaBadPasswordTime: 1626266698 udm users/user list --filter username=test1| grep lockedTime lockedTime: 16010101000242Z OK yaml
<https://errata.software-univention.de/#/?erratum=5.0x61>