]> git.ipfire.org Git - thirdparty/squid.git/blame - helpers/negotiate_auth/kerberos/test_negotiate_auth.sh
Boilerplate: update copyright blurbs on Squid helpers
[thirdparty/squid.git] / helpers / negotiate_auth / kerberos / test_negotiate_auth.sh
CommitLineData
4ebcf1ce 1#!/bin/bash
ca02e0ec
AJ
2#
3## Copyright (C) 1996-2014 The Squid Software Foundation and contributors
4##
5## Squid software is distributed under GPLv2+ license and includes
6## contributions from numerous individuals and organizations.
7## Please see the COPYING and CONTRIBUTORS files for details.
8##
9
4ebcf1ce
MM
10if [[ -z "$1" ]]; then
11 echo "Need squid hostname"
12 exit 0
13fi
14dir=`dirname $0`
15$dir/negotiate_kerberos_auth_test $1 | awk '{sub(/Token:/,"YR"); print $0}END{print "QQ"}' | $dir/negotiate_kerberos_auth -d