Univention Bugzilla – Attachment 9144 Details for
Bug 44902
New check `kerberos_ddns_update.py`
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nsupdate_check.patch
nsupdate_check.patch (text/plain), 1.75 KB, created by
Arvid Requate
on 2017-08-24 21:26 CEST
(
hide
)
Description:
nsupdate_check.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2017-08-24 21:26 CEST
Size:
1.75 KB
patch
obsolete
>Index: umc/python/diagnostic/de.po >=================================================================== >--- umc/python/diagnostic/de.po (Revision 82483) >+++ umc/python/diagnostic/de.po (Arbeitskopie) >@@ -878,9 +878,9 @@ > > #: umc/python/diagnostic/plugins/kerberos_ddns_update.py:73 > #, python-brace-format >-msgid "`nsupdate` existence check for domain {domain} failed." >+msgid "`nsupdate` check for domain {domain} failed." > msgstr "" >-"`nsupdate` Existenzprüfung für die Domänne {domain} ist fehlgeschlagen." >+"`nsupdate` Prüfung für die Domänne {domain} ist fehlgeschlagen." > > #: umc/python/diagnostic/plugins/samba_tool_dbcheck.py:113 > msgid "`samba-tool dbcheck` found no problems with the local AD database." >Index: umc/python/diagnostic/plugins/kerberos_ddns_update.py >=================================================================== >--- umc/python/diagnostic/plugins/kerberos_ddns_update.py (Revision 82483) >+++ umc/python/diagnostic/plugins/kerberos_ddns_update.py (Arbeitskopie) >@@ -70,7 +70,7 @@ > self.domainname = domainname > > def __str__(self): >- msg = _('`nsupdate` existence check for domain {domain} failed.') >+ msg = _('`nsupdate` check for domain {domain} failed.') > return msg.format(domain=self.domainname) > > >@@ -88,9 +88,9 @@ > > > def nsupdate(hostname, domainname): >- process = subprocess.Popen(('nsupdate', '-g'), stdin=subprocess.PIPE, >+ process = subprocess.Popen(('nsupdate', '-g' , '-t', '15'), stdin=subprocess.PIPE, > stdout=subprocess.PIPE, stderr=subprocess.STDOUT) >- cmd = 'server {host}.{domain}\nprereq yxdomain {domain}\n' >+ cmd = 'server {host}.{domain}\nprereq yxdomain {domain}\nsend\n' > _ = process.communicate(cmd.format(host=hostname, domain=domainname)) > if process.poll() != 0: > raise NSUpdateError(hostname, domainname)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 44902
:
8988
|
9111
| 9144 |
9202