diff --git a/ceo/ldapi.py b/ceo/ldapi.py index 85acccd..8a1c879 100644 --- a/ceo/ldapi.py +++ b/ceo/ldapi.py @@ -31,7 +31,7 @@ def abslookup(ld, dn, objectclass=None): matches = ld.search_s(dn, ldap.SCOPE_BASE) except ldap.NO_SUCH_OBJECT: return None - + # dn was found, but didn't match the objectclass filter if len(matches) < 1: return None