Good afternoon,
I need to connect a legacy application that is only compatible with Active Directory and needs to query the “distinguishedName” attribute.
I have installed UCS with the Active Directory connector and synchronized the users from an old AD to UCS, but the distinguishedName field does not appear.
If I try to add the field using “custom attributes” I get the following error: univention.admin.uexceptions.ldapError: LDAP Error: Object class violation: attribute ‘distinguishedName’ not allowed.
I use this localmapping config:
ad_mapping[‘user’].post_attributes[‘distinguishedName’] = \
univention.connector.attribute(
ucs_attribute='distinguishedName',
ldap_attribute='distinguishedName',
con_attribute='distinguishedName'
)
Any solution?
Many thanks