Bug 42545

Summary: AD domain language guessed incorrectly under some circumstances
Product: UCS Reporter: Michel Smidt <michelsmidt>
Component: AD ConnectorAssignee: Felix Botner <botner>
Status: CLOSED WORKSFORME QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: gohmann
Version: UCS 4.1   
Target Milestone: UCS 4.1-4-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034 Enterprise Customer affected?: Yes
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2016090921000131 Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 36354    
Bug Blocks:    

Description Michel Smidt 2016-09-30 13:51:35 CEST
The method guess_ad_domain_language() in /branches/ucs-4.1/ucs-4.1-3/services/univention-ad-connector/umc/python/adconnector/__init__.py set english ('en') as the AD language fall back. If the adsearch leads to an error or the output can't be parsed 'en' will be set for connector/ad/mapping/group/language.

Under some circumstance (e.g. in combination with bug #36354) it leads to an incorrect mapping for Domain Users/Domänen Benutzer in an german 'de' Active-Directory.
Comment 1 Felix Botner univentionstaff 2016-11-30 15:28:48 CET
Bug #36354 is fixed, the connector now looks for the binddn in AD. With a correct binddn univention-adsearch should work and guess_ad_domain_language too (the initial problem was an incorrect binddn, which broke univention-adsearch and therefor guess_ad_domain_language).

I think there is nothing more that can be done here.
Comment 2 Stefan Gohmann univentionstaff 2016-12-09 06:01:14 CET
OK