ud-mailgate: a bug in DoSSH caused all changes to fail that came after DoSSH in
[mirror/userdir-ldap.git] / ud-mailgate
index 4da4382..69707f8 100755 (executable)
@@ -239,6 +239,8 @@ def LoadBadSSH():
 #  [options] 1024 35 13188913666680[..] [comment]
 def DoSSH(Str, Attrs, badkeys, uid):
    Match = SSH2AuthSplit.match(Str);
+   if Match == None:
+      return None;
    g = Match.groups()
    typekey = g[1]
    if Match == None: