Bug 36731 - AD join: No domain controller was found at the address of the name server
AD join: No domain controller was found at the address of the name server
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Stefan Gohmann
Felix Botner
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-17 06:28 CET by Stefan Gohmann
Modified: 2014-11-26 06:54 CET (History)
0 users

See Also:
What kind of report is it?: ---
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 Stefan Gohmann univentionstaff 2014-11-17 06:28:32 CET
Currently, I get the message "No domain controller was found at the address of the name server" while I try to join a UCS 4.0 system into a W2K12 Active Directory domain.
Comment 1 Stefan Gohmann univentionstaff 2014-11-17 06:31:17 CET
From the log file:

16.11.14 18:28:54.554  MODULE      ( PROCESS ) : Lookup ADDS DC
16.11.14 18:28:54.558  MODULE      ( PROCESS ) : running ['dig', '@10.201.92.2']
16.11.14 18:29:05.575  MODULE      ( PROCESS ) : stdout:
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @10.201.92.2
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 44669
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;.                              IN      NS

;; Query time: 989 msec
;; SERVER: 10.201.92.2#53(10.201.92.2)
;; WHEN: Sun Nov 16 18:29:05 2014
;; MSG SIZE  rcvd: 17


16.11.14 18:29:05.575  MODULE      ( PROCESS ) : stderr:
16.11.14 18:29:05.577  MODULE      ( PROCESS ) : AD Info: {'Domain': 'ad92.local', 'LDAP Base': 'DC=ad92,DC=local', 'Forest': 'ad92.local', 'Client Site': 'Default-First-Site-Name', 'DC Netbios Name': 'WIN-D5RHQ351M1J', 'DC DNS Name': 'WIN-D5RHQ351M1J.ad92.local', 'Netbios Domain': 'AD92', 'DC IP': '10.201.92.2', 'Server Site': 'Default-First-Site-Name'}
16.11.14 18:29:15.579  MODULE      ( PROCESS ) : Execution of command 'setup/check/domain' has failed:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated
    return function(self, request, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 316, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 460, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 282, in _fake_func
    yield function(self, *args)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/__init__.py", line 708, in check_domain
    has_ucs_master = util.is_ucs_domain(nameserver, info['Domain'])
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/util.py", line 782, in is_ucs_domain
    resolver.query('_domaincontroller_master._tcp.%s' % domain, 'SRV')
  File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 847, in query
    timeout = self._compute_timeout(start)
  File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 692, in _compute_timeout
    raise Timeout
Timeout
Comment 2 Stefan Gohmann univentionstaff 2014-11-17 06:36:49 CET
The following command is used:
  resolver.query('_domaincontroller_master._tcp.%s' % domain, 'SRV')

The DNS query does not end with a '.'. If I add a '.', it works.
Comment 3 Stefan Gohmann univentionstaff 2014-11-17 08:55:01 CET
fixed with r55852

No changelog required.
Comment 4 Felix Botner univentionstaff 2014-11-19 12:36:57 CET
OK - Installed master and backup UCS 4.0 with "Join into AD Domain", join
     was successful
Comment 5 Stefan Gohmann univentionstaff 2014-11-26 06:54:00 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".