[25535] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25065 - trunk/debathena/config/msmtp-config/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Thu Mar 17 19:37:25 2011

Date: Thu, 17 Mar 2011 19:37:18 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201103172337.p2HNbIRm003538@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-03-17 19:37:18 -0400 (Thu, 17 Mar 2011)
New Revision: 25065

Modified:
   trunk/debathena/config/msmtp-config/debian/changelog
   trunk/debathena/config/msmtp-config/debian/debathena-msmtp
Log:
In msmtp-config:
  * Strip off the instance of any principal in the tickets (Trac #806)


Modified: trunk/debathena/config/msmtp-config/debian/changelog
===================================================================
--- trunk/debathena/config/msmtp-config/debian/changelog	2011-03-17 03:24:28 UTC (rev 25064)
+++ trunk/debathena/config/msmtp-config/debian/changelog	2011-03-17 23:37:18 UTC (rev 25065)
@@ -1,3 +1,9 @@
+debathena-msmtp-config (1.8.9) unstable; urgency=low
+
+  * Strip off the instance of any principal in the tickets (Trac #806)
+
+ -- Jonathan Reed <jdreed@mit.edu>  Thu, 17 Mar 2011 19:37:12 -0400
+
 debathena-msmtp-config (1.8.8) unstable; urgency=low
 
   * Fix package name in maintainer scripts

Modified: trunk/debathena/config/msmtp-config/debian/debathena-msmtp
===================================================================
--- trunk/debathena/config/msmtp-config/debian/debathena-msmtp	2011-03-17 03:24:28 UTC (rev 25064)
+++ trunk/debathena/config/msmtp-config/debian/debathena-msmtp	2011-03-17 23:37:18 UTC (rev 25065)
@@ -21,6 +21,8 @@
 if (($? == 0) &&
     (`klist 2>/dev/null` =~ /Default principal: (.*?)\@ATHENA.MIT.EDU/)) {
     $kuser = $1;
+    # Remove any instances
+    $kuser =~ s|/.*||g;
 }
 
 my $parser = Mail::ExpandAliases->new;


home help back first fref pref prev next nref lref last post