Bug 40816

Summary: AD Connector: Failed to lookup AD LDAP base
Product: UCS Reporter: Arvid Requate <requate>
Component: AD ConnectorAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: andree.hingst, gohmann, grandjean, scheinig, stephan.hendl
Version: UCS 4.1Flags: requate: Patch_Available+
Target Milestone: UCS 4.1-4-errata   
Hardware: Other   
OS: Linux   
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: 2016100621000081, 2016111621000201 Bug group (optional): Cleanup
Max CVSS v3 score:
Attachments: Failed_to_lookup_AD_LDAP_base.patch
Failed_to_lookup_AD_LDAP_base_UCS-4.1-4.patch

Description Arvid Requate univentionstaff 2016-03-02 11:52:53 CET
Created attachment 7516 [details]
Failed_to_lookup_AD_LDAP_base.patch

There is broken code in the AD Connector which results in this error message on startup:

02.03.2016 11:29:53,528 MAIN        (------ ): DEBUG_INIT
02.03.2016 11:29:53,568 LDAP        (ERROR  ): Failed to lookup AD LDAP base, using UCR value.

The attached patch fixes the issue.
Comment 1 Christina Scheinig univentionstaff 2016-12-20 14:24:00 CET
is implemented in customer environment and fixed the problem, only the line numbers were different
Comment 2 Stephan Hendl 2016-12-20 14:45:05 CET
Created attachment 8313 [details]
Failed_to_lookup_AD_LDAP_base_UCS-4.1-4.patch

Line numbers of the original patch are actualized to version/erratalevel: 359
Comment 3 Felix Botner univentionstaff 2017-01-25 15:26:42 CET
(In reply to Stephan Hendl from comment #2)
> Created attachment 8313 [details]
> Failed_to_lookup_AD_LDAP_base_UCS-4.1-4.patch
> 
> Line numbers of the original patch are actualized to version/erratalevel: 359

Thank you

Problem was "ldaps" was not yet initialized at this point and the univention.uldap.access used a wrong variable name for the ca_certfile parameter.

Fixed and merged to 4.2-0.

univention-ad-connector.yaml
Comment 4 Stefan Gohmann univentionstaff 2017-01-31 16:05:43 CET
Jenkins tests: OK

Changelog: OK

UCS 4.2 merge: OK

Code review: OK

Tests: OK
Comment 5 Janek Walkenhorst univentionstaff 2017-02-01 12:07:16 CET
<http://errata.software-univention.de/ucs/4.1/386.html>