Bug 31731 - univention-ad-takeover: traceback caused by DNS timeout?
univention-ad-takeover: traceback caused by DNS timeout?
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-12 18:58 CEST by Philipp Hahn
Modified: 2014-02-06 13:37 CET (History)
4 users (show)

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:
requate: Patch_Available+


Attachments
31731.patch (1.64 KB, patch)
2013-12-12 17:12 CET, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-06-12 18:58:00 CEST
Zara-AD-Takeover-Workshop (Ticket#: 2013052421000963)

root@ucs-master:/etc/postfix# univention-ad-takeover 192.168.56.102
Pinging AD IP 192.168.56.102: .
Ok, Server IP 192.168.56.102 is online.
Password for [DEMOFIRMA\Administrator]:
Warning: Multiple DCs registered for DNS SRV record Traceback (most recent call last):
  File "/usr/sbin/univention-ad-takeover", line 1798, in <module>
    (ad_server_ip, ad_server_fqdn, ad_server_name) = run_phaseI(ucr, lp, opts, args)
  File "/usr/sbin/univention-ad-takeover", line 874, in run_phaseI
    tmp_fqdn = line.split()[3].rstrip('.')
IndexError: list index out of range


Additional output for "lines":
_kerberos._tcp.dc._msdcs.demofirma.local
['', '; <<>> DiG 9.8.0-P4 <<>> @192.168.56.102 SRV _kerberos._tcp.dc._msdcs.demofirma.local +short', '; (1 server found)', ';; global options: +cmd', ';; connection timed out; no servers could be reached']


VM hat 2 interfaces: eth0 for connection to Windows-SBS and Windows-Client, eth1 for Internet access.
nameserver1=$local-ip-of-ucs-system
samba4 was stopped.
Comment 1 Arvid Requate univentionstaff 2013-12-12 17:12:54 CET
Created attachment 5696 [details]
31731.patch
Comment 2 Arvid Requate univentionstaff 2014-01-14 17:34:34 CET
While testing Bug #33644 this occurred several times, so I rebuilt the package with the patch in scope errata 3.2-0.

Advisory: 2013-12-11-univention-s4-connector.yaml
Comment 3 Stefan Gohmann univentionstaff 2014-01-22 12:01:48 CET
Test: OK
Code: OK
YAML: OK
Comment 4 Moritz Muehlenhoff univentionstaff 2014-02-06 13:37:21 CET
http://errata.univention.de/ucs/3.2/48.html