Bug 51478 - Could not add recommended ObjectClass to user object
Could not add recommended ObjectClass to user object
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-12 11:33 CEST by Christina Scheinig
Modified: 2022-04-21 00:20 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.114
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020061021000251
Bug group (optional):
Max CVSS v3 score:
best: Patch_Available+


Attachments
patch (1.46 KB, patch)
2020-06-12 17:03 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2020-06-12 11:33:29 CEST
Using 
/usr/share/univention-directory-manager-tools/univention-migrate-users-to-ucs4.3
from Bug 51081 to fix missing objectClasses I get

./univention-migrate-users-to-ucs4.3                               
Modifying  uid=www-data,cn=users,dc=schein,dc=ig
[('objectClass', [], ['krb5KDCEntry', 'univentionMail', 'sambaSamAccount']),
 ('sambaSID', [], ['S-1-5-21-2438365080-1175145288-4246282840-1068']),
 ('sambaAcctFlags', [], ['[U          ]']),
 ('sambaPwdLastSet', [], ['1584140400'])]

1 errors occurred.
'uid=www-data,cn=users,dc=schein,dc=ig': {'info': "object class 'krb5KDCEntry' requires attribute 'krb5KeyVersionNumber'", 'desc': 'Object class violation'} (modifications: [('objectClass', [], ['krb5KDCEntry', 'univentionMail', 'sambaSamAccount']), ('sambaSID', [], ['S-1-5-21-2438365080-1175145288-4246282840-1068']), ('sambaAcctFlags', [], ['[U          ]']), ('sambaPwdLastSet', [], ['1584140400'])])


object class 'krb5KDCEntry' requires attribute 'krb5KeyVersionNumber' looks like a similar issue as in Bug 51279 ?
Comment 1 Christina Scheinig univentionstaff 2020-06-12 11:39:33 CEST
It is a UCS (non school) environment.

UCS: 4.4-4 errata617
Installed: adconnector=12.0
Comment 2 Florian Best univentionstaff 2020-06-12 17:03:15 CEST
Created attachment 10387 [details]
patch
Comment 3 Florian Best univentionstaff 2022-04-21 00:20:27 CEST
This has been fixed in UCS 5.0-0 in git:f1708116dba.