X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;h=81d3757b510252a84afed5bfcbd4f085bbd302bd;hp=c01513c1b3c95b611253c8f05d3c6ffe20faf1c0;hb=5f0890953c9bf981431b461530ff7c196d7d3861;hpb=4767c94f71bc35ba279bc53ae0649702e940eb38 diff --git a/ud-mailgate b/ud-mailgate index c01513c..81d3757 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -489,7 +489,7 @@ def FinishConfirmSudopassword(l, uid, Attrs): 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)