[Da-tools-commits] ./debian/userdir-ldap r462: lower casing the sudopasswd ldap entry prior to parsing and verifying it was a bad idea

Peter Palfrader peter at palfrader.org
Mon Sep 15 17:27:38 UTC 2008


------------------------------------------------------------
revno: 462
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap
timestamp: Mon 2008-09-15 19:27:38 +0200
message:
  lower casing the sudopasswd ldap entry prior to parsing and verifying it was a bad idea
modified:
  debian/changelog
  ud-generate
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-09-14 23:12:41 +0000
+++ b/debian/changelog	2008-09-15 17:27:38 +0000
@@ -1,3 +1,10 @@
+userdir-ldap (0.3.41) unstable; urgency=low
+
+  * ud-generate: lower casing the sudopasswd ldap entry prior to parsing
+    and verifying it was a bad idea.
+
+ -- Peter Palfrader <weasel at debian.org>  Mon, 15 Sep 2008 19:26:14 +0200
+
 userdir-ldap (0.3.40) unstable; urgency=low
 
   * Reading the hmac key only once is too troublesome.

=== modified file 'ud-generate'
--- a/ud-generate	2008-09-14 19:20:14 +0000
+++ b/ud-generate	2008-09-15 17:27:38 +0000
@@ -223,7 +223,7 @@
 
       Pass = None
       for entry in x[1]['sudoPassword']:
-         Match = re.compile('^('+UUID_FORMAT+') (confirmed:[0-9a-f]{40}|unconfirmed) ([a-z0-9.,*]+) ([^ ]+)$').match(entry.lower())
+         Match = re.compile('^('+UUID_FORMAT+') (confirmed:[0-9a-f]{40}|unconfirmed) ([a-z0-9.,*]+) ([^ ]+)$').match(entry)
          if Match == None:
             continue
          uuid = Match.group(1)



More information about the Da-tools-commits mailing list