+ notification is now the default
[ Peter Palfrader ]
- * ud-mailgate: fix sudopassword confirm handling.
+ * ud-mailgate:
+ - fix sudopassword confirm handling.
+ - allow dashes in hostnames.
* ud-generate: update gitolite authkeys generation
- skip ssh keys with non-local allowed_hosts
- skip all keys with other restrictions
- make including keys for hosts optional (on by default)
- support overriding the command we restrict to
- -- Peter Palfrader <weasel@debian.org> Fri, 19 Sep 2014 21:23:32 +0200
+ -- Peter Palfrader <weasel@debian.org> Sun, 21 Sep 2014 14:50:59 +0200
userdir-ldap (0.3.82) unstable; urgency=low
# Handle a ConfirmSudoPassword request
def DoConfirmSudopassword(Str, SudoPasswd):
- Match = re.compile('^confirm sudopassword ('+UUID_FORMAT+') ([a-z0-9.,*]+) ([0-9a-f]{40})$').match(Str)
+ Match = re.compile('^confirm sudopassword ('+UUID_FORMAT+') ([a-z0-9.,*-]+) ([0-9a-f]{40})$').match(Str)
if Match == None:
return None
newldap = []
for entry in inldap:
- Match = re.compile('^('+UUID_FORMAT+') (confirmed:[0-9a-f]{40}|unconfirmed) ([a-z0-9.,*]+) ([^ ]+)$').match(entry)
+ Match = re.compile('^('+UUID_FORMAT+') (confirmed:[0-9a-f]{40}|unconfirmed) ([a-z0-9.,*-]+) ([^ ]+)$').match(entry)
if Match == None:
raise UDFormatError, "Could not parse existing sudopasswd entry"
uuid = Match.group(1)