Univention Bugzilla – Bug 47836
setup of AD Connection / AD Connector fails for AD DCs without DNS
Last modified: 2021-05-14 16:34:05 CEST
Scenario: - AD is used without DNS - DNS is on separate, non-AD servers (including all needed service records) - setup of AD Connection / AD Connector or join into AD Domain during installation of UCS fails UMC shows an error message "Connection to AD Server <IP/FQDN> failed". The setup process calls "lookup_adds_dc" from admember.py in univention-libs, which tries to use "dig" with the given AD DC as DNS server. In case this fails the AD Connector wizard stops. We should make that configurable, or (better) an optional test which results in a question in UMC if the setup should be continued.
Potential Workaround (untested): Edit /usr/share/pyshared/univention/lib/admember.py line 710: * orginal def lookup_adds_dc(ad_server=None, ucr=None, check_dns=True): * workaround def lookup_adds_dc(ad_server=None, ucr=None, check_dns=False):
(In reply to Ingo Steuwer from comment #1) > Potential Workaround (untested): > > Edit /usr/share/pyshared/univention/lib/admember.py line 710: > > * orginal > def lookup_adds_dc(ad_server=None, ucr=None, check_dns=True): > > * workaround > def lookup_adds_dc(ad_server=None, ucr=None, check_dns=False): This change doesn't fix all issues in the scenario. Seems like the AD DC is also defined as Nameserver in /etc/resolv.conf
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.