Univention Bugzilla – Bug 47366
always set univentionObjectType
Last modified: 2023-03-25 06:54:25 CET
Currently we cannot rely on univentionObjectType, for example if an LDAP object was created externally. Back then it was only implemented for performance improvements. The wish is that we can rely on the attribute, e.g. for search filters. The idea is that there is a diagnostic module that finds the objects and adds the univentionObjectType with a button 'Fix Problem'.
(Btw: A listener module could do this "live".) The question is mainly what the criteria are, for an LDAP object to be considered of a certain univentionObjectType.
I don't think we should change this. Why do you want to rely on univentionObjectType. This is currently forbidden. If you want to identify an object then you have to use the filter defined by that object type. I think UDM should work without the univentionObjectType attribute. Maybe one day we even can get rid of it completely.
*** This bug has been marked as a duplicate of bug 47844 ***
Yes duplicate. (In reply to Florian Best from comment #2) > I don't think we should change this. Why do you want to rely on > univentionObjectType. This is not for UDM, but rather for 3rd parties that want a convenient and reliable LDAP filter.
It's also *much* faster than complex filters, like the one for users/user.