HCoop
/
hcoop
/
zz_old
/
config
/
exim4-hopper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5092a97
)
Catch up on bind and keytab changes made by others
author
root@deleuze.hcoop.net
<>
Fri, 6 Apr 2007 02:25:19 +0000
(22:25 -0400)
committer
root
<root@deleuze.hcoop.net>
Fri, 6 Apr 2007 02:25:19 +0000
(22:25 -0400)
get-token
[changed mode: 0755->0644]
patch
|
blob
|
blame
|
history
diff --git
a/get-token
b/get-token
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.
#
# 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
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
echo kinit -kt $KEYTAB $USER/mailfilter@HCOOP.NET
kinit -kt $KEYTAB $USER/mailfilter@HCOOP.NET
aklog
-tokens
-echo ..............................................................................