# Try to find an existing cache but only if we are using FILE: caches.
default=$((unset KRB5CCNAME; klist 2>&1) | sed -n 's/.*FILE:\([^)]*\).*/\1/p')
if [ ! -z "$default" ]; then
# Try to find an existing cache but only if we are using FILE: caches.
default=$((unset KRB5CCNAME; klist 2>&1) | sed -n 's/.*FILE:\([^)]*\).*/\1/p')
if [ ! -z "$default" ]; then