projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix is_guest_account for the usergroups transition
[mirror/userdir-ldap.git]
/
ud-mailgate
diff --git
a/ud-mailgate
b/ud-mailgate
index
2e16cce
..
c54aee5
100755
(executable)
--- 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));
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;
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
# Handle changing a dns entry
# host IN A 12.12.12.12