From fedfbe6c5f9b8e37e95004ca36d3710edc1c0177 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 25 Aug 2012 11:34:10 -0500 Subject: [PATCH] Kerberos handling for EPIC.COM --- .bash_profile | 8 ++++++++ .krb5.conf | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 .krb5.conf diff --git a/.bash_profile b/.bash_profile index 4ce8d2a..85a7dd8 100644 --- a/.bash_profile +++ b/.bash_profile @@ -22,5 +22,13 @@ test -n "$keychain" && { } unset keychain +# kerberos +kinit="$(type -P kinit)" +test -n "$kinit" && { + KRB5_CONFIG="$HOME/.krb5.conf" + export KRB5_CONFIG +} +unset kinit + # Load RVM function [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" diff --git a/.krb5.conf b/.krb5.conf new file mode 100644 index 0000000..891f0b3 --- /dev/null +++ b/.krb5.conf @@ -0,0 +1,2 @@ +[libdefaults] + default_realm = EPIC.COM -- 2.45.2