Univention Bugzilla – Attachment 10061 Details for
Bug 49643
sync_to_ucs: reject for DC=@ SOA record after AD-Takeover
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
handle_uppercase_DC_attribute.patch
handle_uppercase_DC_attribute.patch (text/plain), 750 bytes, created by
Arvid Requate
on 2019-06-13 14:19:04 CEST
(
hide
)
Description:
handle_uppercase_DC_attribute.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2019-06-13 14:19:04 CEST
Size:
750 bytes
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 3c4cfe9784..40020d5115 100644 >--- a/services/univention-s4-connector/modules/univention/s4connector/s4/dns.py >+++ b/services/univention-s4-connector/modules/univention/s4connector/s4/dns.py >@@ -1560,7 +1560,10 @@ def _identify_dns_con_object(s4connector, object): > > if object.get('attributes'): > oc = object['attributes'].get('objectClass') >- dc = object['attributes'].get('dc') >+ for attr in ('dc', 'DC'): >+ dc = object['attributes'].get(attr) >+ if dc: >+ break > if oc and 'dnsZone' in oc: > # forward or reverse zone > if dc and dc[0].endswith('in-addr.arpa'):
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 49643
: 10061