X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;h=c54aee5c1649aac2b4c70304359152fdc8565f81;hp=2e16cceb4c2593d7f337c15cc420d4f45f857737;hb=8403981f228c6bf23ddb39f4a15db6c02cf13303;hpb=3d16d7241cf06321448a87f7a5051670b084d250 diff --git a/ud-mailgate b/ud-mailgate index 2e16cce..c54aee5 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -354,11 +354,11 @@ def DoSSH(Str, Attrs, badkeys, uid): global SeenKey; if SeenKey: Attrs.append((ldap.MOD_ADD,"sshRSAAuthKey",Str)); - return "SSH Key added "+FormatSSHAuth(Str); + return "SSH Key added: %s %s [%s]"%(key_size, fingerprint, FormatSSHAuth(Str)) Attrs.append((ldap.MOD_REPLACE,"sshRSAAuthKey",Str)); SeenKey = 1; - return "SSH Keys replaced with "+FormatSSHAuth(Str); + return "SSH Keys replaced with: %s %s [%s]"%(key_size, fingerprint, FormatSSHAuth(Str)) # Handle changing a dns entry # host IN A 12.12.12.12