Univention Bugzilla – Attachment 8664 Details for
Bug 44104
DNS SOA sync_to_ucs reject
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
SOA_mname.patch
SOA_mname.patch (text/plain), 694 bytes, created by
Arvid Requate
on 2017-03-28 12:33 CEST
(
hide
)
Description:
SOA_mname.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2017-03-28 12:33 CEST
Size:
694 bytes
patch
obsolete
>Index: modules/univention/s4connector/s4/dns.py >=================================================================== >--- modules/univention/s4connector/s4/dns.py (Revision 77820) >+++ modules/univention/s4connector/s4/dns.py (Arbeitskopie) >@@ -1389,7 +1389,10 @@ > zone = univention.admin.handlers.dns.reverse_zone.object(None, s4connector.lo, position=None, dn=searchResult[0][0], superordinate=None, attributes=[]) > zone.open() > if set(ns) != set(zone['nameserver']): >- if soa['mname'] not in ns: >+ mname = soa['mname'] >+ if mname and mname[-1] != ".": >+ mname = "%s." % mname >+ if mname not in ns: > ns.insert(0, soa['mname']) > zone['nameserver'] = ns > modify = True
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 44104
: 8664 |
9715