View | Details | Raw Unified | Return to bug 44902 | Differences between
and this patch

Collapse All | Expand All

(-)umc/python/diagnostic/de.po (-2 / +2 lines)
 Lines 878-886    Link Here 
878
878
879
#: umc/python/diagnostic/plugins/kerberos_ddns_update.py:73
879
#: umc/python/diagnostic/plugins/kerberos_ddns_update.py:73
880
#, python-brace-format
880
#, python-brace-format
881
msgid "`nsupdate` existence check for domain {domain} failed."
881
msgid "`nsupdate` check for domain {domain} failed."
882
msgstr ""
882
msgstr ""
883
"`nsupdate` Existenzprüfung für die Domänne {domain} ist fehlgeschlagen."
883
"`nsupdate` Prüfung für die Domänne {domain} ist fehlgeschlagen."
884
884
885
#: umc/python/diagnostic/plugins/samba_tool_dbcheck.py:113
885
#: umc/python/diagnostic/plugins/samba_tool_dbcheck.py:113
886
msgid "`samba-tool dbcheck` found no problems with the local AD database."
886
msgid "`samba-tool dbcheck` found no problems with the local AD database."
(-)umc/python/diagnostic/plugins/kerberos_ddns_update.py (-3 / +3 lines)
 Lines 70-76    Link Here 
70
		self.domainname = domainname
70
		self.domainname = domainname
71
71
72
	def __str__(self):
72
	def __str__(self):
73
		msg = _('`nsupdate` existence check for domain {domain} failed.')
73
		msg = _('`nsupdate` check for domain {domain} failed.')
74
		return msg.format(domain=self.domainname)
74
		return msg.format(domain=self.domainname)
75
75
76
76
 Lines 88-96    Link Here 
88
88
89
89
90
def nsupdate(hostname, domainname):
90
def nsupdate(hostname, domainname):
91
	process = subprocess.Popen(('nsupdate', '-g'), stdin=subprocess.PIPE,
91
	process = subprocess.Popen(('nsupdate', '-g' , '-t', '15'), stdin=subprocess.PIPE,
92
		stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
92
		stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
93
	cmd = 'server {host}.{domain}\nprereq yxdomain {domain}\n'
93
	cmd = 'server {host}.{domain}\nprereq yxdomain {domain}\nsend\n'
94
	_ = process.communicate(cmd.format(host=hostname, domain=domainname))
94
	_ = process.communicate(cmd.format(host=hostname, domain=domainname))
95
	if process.poll() != 0:
95
	if process.poll() != 0:
96
		raise NSUpdateError(hostname, domainname)
96
		raise NSUpdateError(hostname, domainname)

Return to bug 44902