Bug 47136 - UDM mangles account expiration date
UDM mangles account expiration date
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-04 18:09 CEST by ericbrowning
Modified: 2021-05-03 21:44 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
In the attached image, I entered the date "6/30/2018" and the next day it came out like it is pictured. (35.56 KB, image/png)
2018-06-04 18:09 CEST, ericbrowning
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ericbrowning 2018-06-04 18:09:32 CEST
Created attachment 9547 [details]
In the attached image, I entered the date "6/30/2018" and the next day it came out like it is pictured.

UMC mangles account expiration date.

I can enter any date in this file and within 24 hours it magles the date when I login to UMC again to check on this user.  I will enter "6/30/2018" and it will randomly change it to another date.  Sometimes it's in the future (year 2056), sometimes it is far in the past, like the year 1979.

Every single user (teachers that are leaving) I have set an expiration date on has become mangled.
Comment 1 ericbrowning 2018-06-04 18:10:45 CEST
UMC was access on a MacOS 10.13.4 computer with Chrome 67.
Comment 2 Florian Best univentionstaff 2018-06-06 10:29:49 CEST
Hello Eric, thank you for your feedback.

Did you upgrade your system from UCS 4.2 to UCS 4.3?

Could you attach a LDIF of that specific user?
This can be done one the command line with (replace THE_USERNAME with the one of that user):

univention-ldapsearch -LLL uid=THE_USERNAME 'sambaAcctFlags' 'krb5KDCFlags' 'shadowExpire' 'krb5ValidEnd' sambaKickoffTime 'shadowLastChange' 'shadowMax'
Comment 3 ericbrowning 2018-06-06 18:08:54 CEST
Yes, I updated UCS 4.2 to 4.3 errata 86 (now current 4.3 errata 112)

LDIF output as requested.  The expiration date was set to 6/30/2018 (U.S. Format) but came out as 12/31/1981.  I have obfuscated their user name with stars.

dn: uid=********,cn=users,dc=skaggscatholiccenter,dc=org
sambaAcctFlags: [U          ]
krb5KDCFlags: 126
sambaKickoffTime: 377938800
krb5ValidEnd: 19811223000000Z
shadowExpire: 4375