Fix typo in ud-mailgate.
authorTollef Fog Heen <tfheen@err.no>
Wed, 2 Jan 2019 18:29:57 +0000 (19:29 +0100)
committerTollef Fog Heen <tfheen@err.no>
Wed, 2 Jan 2019 18:29:57 +0000 (19:29 +0100)
debian/changelog
ud-mailgate

index 4b56615..e59ae0c 100644 (file)
@@ -1,3 +1,9 @@
+userdir-ldap (0.3.94) UNRELEASED; urgency=medium
+
+  * Fix typo in ud-mailgate.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Wed, 02 Jan 2019 19:13:52 +0100
+
 userdir-ldap (0.3.93) unstable; urgency=medium
 
   [ Peter Palfrader ]
index 49b26ae..5ec68d2 100755 (executable)
@@ -553,7 +553,7 @@ def connect_to_ldap_and_check_if_locked(DnRecord):
     if (GetAttr(Attrs[0], "userPassword").find("*LK*") != -1) \
        or GetAttr(Attrs[0], "userPassword").startswith("!"):
         raise UDNotAllowedError("This account is locked")
-    return l
+    return lc
 
 
 # Handle an [almost] arbitary change