From: Peter Palfrader Date: Tue, 16 Sep 2008 13:07:36 +0000 (+0200) Subject: FQHNs sometimes, well always, include dots. X-Git-Tag: userdir-ldap-0.3.43 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=eaf577581ba8c1c53fadb91920591f8f6ffa15a4 FQHNs sometimes, well always, include dots. --- diff --git a/debian/changelog b/debian/changelog index f7427dc..8fff4e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +userdir-ldap (0.3.43) unstable; urgency=low + + * FQHNs sometimes, well always, include dots. + + -- Peter Palfrader Tue, 16 Sep 2008 15:07:21 +0200 + userdir-ldap (0.3.42) unstable; urgency=low * Export all accounts into sudo-passwd, even if they diff --git a/ud-mailgate b/ud-mailgate index b743c8b..6baf2c4 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -453,7 +453,7 @@ def DoRBL(Str,Attrs): # Handle a ConfirmSudoPassword request def DoConfirmSudopassword(Str): - 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