projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ud-generate: generate a sudo passwd file
[mirror/userdir-ldap.git]
/
ud-mailgate
diff --git
a/ud-mailgate
b/ud-mailgate
index
c01513c
..
81d3757
100755
(executable)
--- a/
ud-mailgate
+++ b/
ud-mailgate
@@
-489,7
+489,7
@@
def FinishConfirmSudopassword(l, uid, Attrs):
newldap = []
for entry in inldap:
newldap = []
for entry in inldap:
- Match = re.compile('^('+UUID_FORMAT+') (confirmed|unconfirmed) ([a-z0-9,*]+) ([^ ]+)$').match(entry.lower())
+ Match = re.compile('^('+UUID_FORMAT+') (confirmed|unconfirmed) ([a-z0-9
.
,*]+) ([^ ]+)$').match(entry.lower())
if Match == None:
raise Error, "Could not parse existing sudopasswd entry"
uuid = Match.group(1)
if Match == None:
raise Error, "Could not parse existing sudopasswd entry"
uuid = Match.group(1)