Bug 47430 - guess_ad_domain_language() in the UMC AD wizard is broken
guess_ad_domain_language() in the UMC AD wizard is broken
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3-1-errata
Assigned To: Arvid Requate
Felix Botner
:
Depends on: 45779
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-01 12:34 CEST by Felix Botner
Modified: 2019-03-15 22:52 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Felix Botner univentionstaff 2018-08-01 12:34:17 CEST
guess_ad_domain_language() in the UMC AD wizard is broken

['/usr/sbin/univention-adsearch', 'sAMAccountName=Dom\xe4nen-Admins']
adsearch "sAMAccountName=Domänen-Admins" stderr: Traceback (most recent call last):
  File "/usr/sbin/univention-adsearch", line 228, in <module>
    msgid = lo.search_ext(configRegistry['%s/ad/ldap/base' % CONFIGBASENAME], ldap.SCOPE_SUBTREE, filter.encode('utf8'), serverctrls=[lc1, lc2])
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 18: invalid continuation byte

therefor connector/ad/mapping/group/language is always en and the mapping for domain-admins domänen-Admins is broken
Comment 1 Arvid Requate univentionstaff 2018-08-01 12:40:31 CEST
9e15ebac37 | fix regression of Bug #45779
6626bb4b5f | Advisory
Comment 2 Felix Botner univentionstaff 2018-08-01 12:50:27 CEST
OK - UMC ad setup
OK - YAML
Comment 3 Arvid Requate univentionstaff 2018-08-15 13:14:32 CEST
<http://errata.software-univention.de/ucs/4.3/168.html>