UCS 5 Update fails - adc-mapping

I tried to Update to UCS 5 but get error attached.
any Idea how to convert to the original file mapping?

Checking adc_mapping … FAIL
Checking adc_multiinstance_mapping … OK
Checking architecture … OK
Checking blocking_apps … Unable to cache apps
Unable to cache apps
OK
Checking default_master_packages … OK
Checking disk_space … OK
Checking failed_ldif … OK
Checking for_postgresql94 … OK
Checking hold_packages … OK
Checking kolab_schema … OK
Checking ldap_connection … OK
Checking ldap_schema … 6402d29f /etc/ldap/slapd.conf: line 252: rootdn is always granted unlimited privileges.
6402d29f /etc/ldap/slapd.conf: line 260: rootdn is always granted unlimited privileges.
OK
Checking legacy_objects … OK
Checking master_version … OK
Checking md5_signature_is_used … OK
Checking min_version … OK
Checking minimum_ucs_version_of_all_systems_in_domain … OK
Checking old_packages … OK
Checking overwritten_umc_templates … OK
Checking ox_schema … OK
Checking package_status … OK
Checking python_ucr_template_compatibility … OK
Checking python_ucsschool_hooks_compatibility … OK
Checking rabbitmq_server_custom_configuration … pre-update-checks-5.0-0: Zeile 1137: rabbitmqctl: Kommando nicht gefunden.
OK
Checking role_package_removed … OK
Checking samba_server_schannel … OK
Checking samba_tdb_size … OK
Checking sha1_signature_is_used … OK
Checking slapd_on_member … OK
Checking system_date_too_old … OK
Checking system_role … OK
Checking tls_public_key_size … OK
Checking tls_public_key_size_ucs-sso … OK
Checking ucsschool_computerroom_compatibility … OK
Checking usr_mountpoint … OK
Checking valid_machine_credentials … OK

The system can not be updated to UCS 5.0 due to the following reasons:

adc_mapping:
WARNING: The AD-Connector mapping UCR template file has been modified locally.
The file /etc/univention/connector/ad/mapping doesn’t have the original md5 sum (expected: 67fa182cd90eeda2c685c88a4545837b).
It needs to be reverted to the original and the adjusted mapping should be converted into a python file
named /etc/univention/connector/ad/localmapping.py which must define a function named “mapping_hook”
which receives the original ad_mapping as argument and must return a (possibly customized) ad_mapping
(See also Univention Corporate Server).

     Please also note that the mapping code needs to be compatible with Python 3.7
     (See also https://docs.software-univention.de/developer-reference-5.0.html).
Mastodon