Catch up on bind and keytab changes made by others
authorroot@deleuze.hcoop.net <>
Fri, 6 Apr 2007 02:25:19 +0000 (22:25 -0400)
committerroot <root@deleuze.hcoop.net>
Fri, 6 Apr 2007 02:25:19 +0000 (22:25 -0400)
get-token [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 808820b..a7f6cb8
--- a/get-token
+++ b/get-token
@@ -3,24 +3,12 @@
 #
 # This is used to deliver mail with the appropriate credentials.
 
-touch /tmp/get-token-was-called
-
-exec 2>&1
-exec  >&  /tmp/get-token-log
-
-echo ==============================================================================
-echo invoked: get-token $@
-echo userid:  `who am i`
-
 USER=$1
 export KRB5CCNAME=FILE:/tmp/krb5cc_$USER.email
 kdestroy
 unlog
-
-KEYTAB=/etc/keytabs/email/$USER.email.keytab
+KEYTAB=/etc/keytabs/mailfilter/$USER
 echo kinit -kt $KEYTAB $USER/mailfilter@HCOOP.NET
 kinit -kt $KEYTAB $USER/mailfilter@HCOOP.NET
 aklog
-tokens
-echo ..............................................................................