projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add changelog entry
[mirror/userdir-ldap.git]
/
ud-mailgate
diff --git
a/ud-mailgate
b/ud-mailgate
index
5ec68d2
..
b40be70
100755
(executable)
--- a/
ud-mailgate
+++ b/
ud-mailgate
@@
-484,7
+484,7
@@
def DoConfirmSudopassword(Str, SudoPasswd):
return "got confirm for sudo password %s on host(s) %s, auth code %s" % (uuid, hosts, hmac)
return "got confirm for sudo password %s on host(s) %s, auth code %s" % (uuid, hosts, hmac)
-def FinishConfirmSudopassword(l, uid, Attrs, SudoPasswd):
+def FinishConfirmSudopassword(l
c
, uid, Attrs, SudoPasswd):
result = "\n"
if len(SudoPasswd) == 0:
result = "\n"
if len(SudoPasswd) == 0:
@@
-599,7
+599,7
@@
def HandleChange(Reply, DnRecord, Key):
if CommitChanges == 1 and len(SudoPasswd) > 0: # only if we are still good to go
try:
if CommitChanges == 1 and len(SudoPasswd) > 0: # only if we are still good to go
try:
- Res = FinishConfirmSudopassword(l, GetAttr(DnRecord, "uid"), Attrs, SudoPasswd)
+ Res = FinishConfirmSudopassword(l
c
, GetAttr(DnRecord, "uid"), Attrs, SudoPasswd)
if Res is not None:
Result += Res + "\n"
except Error, e:
if Res is not None:
Result += Res + "\n"
except Error, e: