Page MenuHomePhorge

D146.1775216162.diff
No OneTemporary

Authored By
Unknown
Size
639 B
Referenced Files
None
Subscribers
None

D146.1775216162.diff

diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -2112,8 +2112,9 @@
# If we have a 1:1 match, continue as planned
for naming_context in naming_contexts:
- if self.domain_rootdns[domain].endswith(naming_context):
- return naming_context
+ if domain in self.domain_rootdns:
+ if self.domain_rootdns[domain].endswith(naming_context):
+ return naming_context
def _primary_domain_for_naming_context(self, naming_context):
self._bind()

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 3, 11:36 AM (7 h, 21 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18823853
Default Alt Text
D146.1775216162.diff (639 B)

Event Timeline