Bug 40816 - AD Connector: Failed to lookup AD LDAP base
AD Connector: Failed to lookup AD LDAP base
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4-errata
Assigned To: Felix Botner
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-02 11:52 CET by Arvid Requate
Modified: 2017-02-01 12:07 CET (History)
5 users (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: 2016100621000081, 2016111621000201
Bug group (optional): Cleanup
Max CVSS v3 score:
requate: Patch_Available+


Attachments
Failed_to_lookup_AD_LDAP_base.patch (1.13 KB, patch)
2016-03-02 11:52 CET, Arvid Requate
Details | Diff
Failed_to_lookup_AD_LDAP_base_UCS-4.1-4.patch (1.51 KB, patch)
2016-12-20 14:45 CET, Stephan Hendl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>