From 187d3edfdc561cd4a929811d63f73114e15932e8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 15 Sep 2008 00:18:51 +0200 Subject: [PATCH] Also the hmac stuff --- debian/changelog | 4 ++-- ud-mailgate | 2 -- userdir_ldap.py | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5a83508..b4b966a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,10 @@ userdir-ldap (0.3.38) unstable; urgency=low * Fix order of some calls so stuff works again. - * And import pwd and os in userdir_ldap.py. + * And import pwd and os and the hmac crowed in userdir_ldap.py. * Using the right variable name will also help. - -- Peter Palfrader Mon, 15 Sep 2008 00:16:46 +0200 + -- Peter Palfrader Mon, 15 Sep 2008 00:18:37 +0200 userdir-ldap (0.3.37) unstable; urgency=low diff --git a/ud-mailgate b/ud-mailgate index d72cb9e..26e4b75 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -7,8 +7,6 @@ import userdir_gpg, userdir_ldap, sys, traceback, time, ldap, os, commands import pwd, tempfile -import hmac -import sha as sha1_module from userdir_gpg import * from userdir_ldap import * diff --git a/userdir_ldap.py b/userdir_ldap.py index 7d091f2..1bc9dbb 100644 --- a/userdir_ldap.py +++ b/userdir_ldap.py @@ -19,6 +19,8 @@ # Some routines and configuration that are used by the ldap progams import termios, re, imp, ldap, sys, crypt, rfc822, pwd, os; import userdir_gpg +import hmac +import sha as sha1_module try: File = open("/etc/userdir-ldap/userdir-ldap.conf"); -- 2.20.1