Univention Bugzilla – Attachment 8065 Details for
Bug 25058
s4connector_present doesn't find IPv6-only servers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
25058.patch (text/plain), 1.25 KB, created by
Florian Best
on 2016-10-04 17:40:06 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-10-04 17:40:06 CEST
Size:
1.25 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >index 0e2f308..ea76352 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >@@ -546,8 +546,8 @@ def __init__(self, co, lo, position, dn='', superordinate=None, attributes=None) > global s4connector_present > if s4connector_present is None: > s4connector_present = False >- searchResult = self.lo.search('(&(|(objectClass=univentionDomainController)(objectClass=univentionMemberServer))(univentionService=S4 Connector))', attr=['aRecord']) >- s4connector_present = any(ddn for (ddn, attr) in searchResult if 'aRecord' in attr) >+ searchResult = self.lo.search('(&(|(objectClass=univentionDomainController)(objectClass=univentionMemberServer))(univentionService=S4 Connector))', attr=['aRecord', 'aAAARecord']) >+ s4connector_present = any(ddn for (ddn, attr) in searchResult if set('aAAARecord', 'aRecord') & set(attr)) > self.s4connector_present = s4connector_present > > if not univention.admin.modules.modules:
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 25058
: 8065