Univention Bugzilla – Attachment 10598 Details for
Bug 52667
S4C doesn't sync IPv6-Zones when reading from Samba/AD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ip6.arpa.patch
ip6.arpa.patch (text/plain), 1.21 KB, created by
Arvid Requate
on 2021-01-18 14:45:59 CET
(
hide
)
Description:
ip6.arpa.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2021-01-18 14:45:59 CET
Size:
1.21 KB
patch
obsolete
>diff --git a/services/univention-s4-connector/modules/univention/s4connector/s4/dns.py b/services/univention-s4-connector/modules/univention/s4connector/s4/dns.py >index ec7f4dd825..033a576cbf 100644 >--- a/services/univention-s4-connector/modules/univention/s4connector/s4/dns.py >+++ b/services/univention-s4-connector/modules/univention/s4connector/s4/dns.py >@@ -1559,7 +1559,7 @@ def _identify_dns_con_object(s4connector, object): > dc = object['attributes'].get('dc') or object['attributes'].get('DC') > if oc and 'dnsZone' in oc: > # forward or reverse zone >- if dc and dc[0].endswith('in-addr.arpa'): >+ if dc and dc[0].endswith('in-addr.arpa') or dc[0].endswith('ip6.arpa'): > return 'reverse_zone' > else: > return 'forward_zone' >@@ -1569,7 +1569,7 @@ def _identify_dns_con_object(s4connector, object): > exploded_dn = str2dn(unicode_to_utf8(object['dn'])) > for multi_rdn in exploded_dn: > (attribute, value, _flags) = multi_rdn[0] >- if attribute.lower() == 'zonename' and value.lower().endswith('in-addr.arpa'): >+ if attribute.lower() == 'zonename' and (value.lower().endswith('in-addr.arpa') or value.lower().endswith('ip6.arpa')): > zone_type = 'reverse_zone' > break > return zone_type
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52667
: 10598