Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117762270
D146.1775216162.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
639 B
Referenced Files
None
Subscribers
None
D146.1775216162.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D146: Ignore domain names that don't exist in the kolab server (#5202)
Attached
Detach File
Event Timeline