X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;h=69707f8be2f2279a790bc44943fd0d5c50e4fa8f;hp=4da438266d92e8eb1f84595317c04115836c21ae;hb=b88b250206ceefa82a7018f4539e5e5fee83b8ec;hpb=5e52a3fd9e74da122f66e2ea2330be547c37b72a diff --git a/ud-mailgate b/ud-mailgate index 4da4382..69707f8 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -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: