summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-06-13 13:08:40 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-06-13 13:08:40 +0200
commit814ffc770e3a696606b6ee1c58b4099d1a80071f (patch)
treec95bc8cca4ff36021d18bb0600ca3cffebe42fee
parent8aa5d3515b025c80b16646c11cde1f8d093331a8 (diff)
downloadpykolab-814ffc770e3a696606b6ee1c58b4099d1a80071f.tar.gz
Fix resolving referrals
-rw-r--r--pykolab/auth/ldap/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index 3a30621..466f425 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -846,7 +846,7 @@ class LDAP(pykolab.base.Base):
)
# Remove referrals
- _entry_dns = [_e for _e in _results if _e[0] is not None]
+ _entry_dns = [_e[0] for _e in _results if _e[0] is not None]
return _entry_dns