From: Peter Palfrader Date: Fri, 14 Nov 2008 19:41:43 +0000 (+0100) Subject: Fix a typo on ud-mailgate X-Git-Tag: userdir-ldap-0.3.47 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=7065b4155d6edccfc64333beaa409411056f2b88 Fix a typo on ud-mailgate --- diff --git a/debian/changelog b/debian/changelog index fea116d..baca0e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +userdir-ldap (0.3.47) unstable; urgency=low + + * Fix a typo on ud-mailgate. + + -- Peter Palfrader Fri, 14 Nov 2008 20:40:19 +0100 + userdir-ldap (0.3.46) unstable; urgency=low * Change the hmac that protect sudopassword entries to also diff --git a/ud-mailgate b/ud-mailgate index 1ba2c53..e37c0d6 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -490,7 +490,7 @@ def FinishConfirmSudopassword(l, uid, Attrs): confirmedHosts = SudoPasswd[uuid][0] confirmedHmac = SudoPasswd[uuid][1] if status.startswith('confirmed:'): - if status == 'confirmed:'+make_passwd_hmac('password-is-confirmed', 'sudo', uid, ,uuid, hosts, cryptedpass): + if status == 'confirmed:'+make_passwd_hmac('password-is-confirmed', 'sudo', uid, uuid, hosts, cryptedpass): result = result + "Entry %s for sudo password on hosts %s already confirmed.\n"%(uuid, hosts) else: result = result + "Entry %s for sudo password on hosts %s is listed as confirmed, but HMAC does not verify.\n"%(uuid, hosts)