Bug 51653 - Object with missing / wrong univentionObjectType
Object with missing / wrong univentionObjectType
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-07-08 18:42 CEST by Philipp Hahn
Modified: 2021-03-30 19:57 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?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
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

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2020-07-08 18:42:01 CEST
When using my extended `./univention-object-type-migrate  -v --verbose  -n` from git-branch `feature/ucs5` it shows the following objects with wrong and/or missing `univentionObjectType`:

Warning: No match for 'uid=sys-idp-user,cn=users,dc=phahn,dc=dev'
        objectClass: b'person'
        objectClass: b'univentionPWHistory'
        objectClass: b'simpleSecurityObject'
        objectClass: b'top'
        objectClass: b'uidObject'
        objectClass: b'univentionObject'
        univentionObjectType: b'users/ldap'

Created by "saml/univention-saml/91univention-saml.inst" using "users/user"

Warning: No match for 'cn={31B2F340-016D-11D2-945F-00C04FB984F9},cn=Policies,cn=System,dc=phahn,dc=dev'
        objectClass: b'top'
        objectClass: b'univentionObject'
        objectClass: b'msGPOContainer'
        univentionObjectType: b'container/msgpo'
Warning: No match for 'cn={6AC1786C-016F-11D2-945F-00C04FB984F9},cn=Policies,cn=System,dc=phahn,dc=dev'
        objectClass: b'top'
        objectClass: b'univentionObject'
        objectClass: b'msGPOContainer'
        univentionObjectType: b'container/msgpo'

Not yet ported to Python 3?

Warning: No match for 'cn=default-settings,cn=thinclient,cn=policies,dc=phahn,dc=dev'
        objectClass: b'top'
        objectClass: b'univentionPolicy'
        objectClass: b'univentionPolicyThinClient'
        objectClass: b'univentionObject'
        univentionObjectType: b'policies/thinclient'

We should stop creating that by default in base.ldif and remove the UDM module.

Warning: No match for 'univentionAppID=samba4_4.10,cn=samba4,cn=apps,cn=univention,dc=phahn,dc=dev'
        objectClass: b'univentionApp'
        objectClass: b'top'
        objectClass: b'univentionObject'
        univentionObjectType: b'appcenter/app'
Warning: No match for 'univentionAppID=dhcp-server_12.0,cn=dhcp-server,cn=apps,cn=univention,dc=phahn,dc=dev'
        objectClass: b'univentionApp'
        objectClass: b'top'
        objectClass: b'univentionObject'
        univentionObjectType: b'appcenter/app'

TBC

Warning: No match for 'cn=default,cn=ppolicy,cn=univention,dc=phahn,dc=dev'
        objectClass: b'top'
        objectClass: b'device'
        objectClass: b'pwdPolicy'

This is created by management/univention-ldap/10univention-ldap-server.inst using `ldapadd`.
Comment 1 Florian Best univentionstaff 2020-07-08 22:08:37 CEST
(In reply to Philipp Hahn from comment #0)

> Warning: No match for 'uid=sys-idp-user,cn=users,dc=phahn,dc=dev'
users/user and users/ldap ignore "univentionObjectFlag: functional". See also Bug #39499.
Comment 2 Florian Best univentionstaff 2020-07-09 14:13:06 CEST
(In reply to Philipp Hahn from comment #0)

> 'cn={31B2F340-016D-11D2-945F-00C04FB984F9},cn=Policies,cn=System,dc=phahn,dc=dev'
> Not yet ported to Python 3?
Yes.


> 'cn=default-settings,cn=thinclient,cn=policies,dc=phahn,dc=dev'
> We should stop creating that by default in base.ldif and remove the UDM
> module.
Yes

 
> 'univentionAppID=samba4_4.10,cn=samba4,cn=apps,cn=univention,dc=phahn,dc=dev'
This was only broken in your environment (no python3 appcenter/app installed).


> Warning: No match for 'cn=default,cn=ppolicy,cn=univention,dc=phahn,dc=dev'
> This is created by management/univention-ldap/10univention-ldap-server.inst
> using `ldapadd`.
We would need to create a UDM handler for this.