X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;h=fd70c37e567a0350b86266e5d843316f4b22fa44;hp=e6b54a9449bbc6477e2587e014e9cdd3d2ebe17e;hb=4716709b593f2da1696744281610309faadc81d6;hpb=ce173057fb1a1a41b04ec350732a3283692eee3d diff --git a/ud-mailgate b/ud-mailgate index e6b54a9..fd70c37 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -297,7 +297,7 @@ def DoSSH(Str, Attrs, badkeys, uid): if not machine_regex.match(m): return "machine specification for ssh key contains invalid characters" if m not in ValidHostNames: - return "unknown machine used in allowed_hosts stanza for ssh keys" + return "unknown machine {} used in allowed_hosts stanza for ssh keys".format(m) (fd, path) = tempfile.mkstemp(".pub", "sshkeytry", "/tmp") f = open(path, "w")