X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fkrb5_login.sh;h=b2a42055fe8c04d3a029458101f94393fa044b13;hb=33c4541c63b59a982be5c4d6b06e07d357bdfd34;hp=e80ae7c29499d899051903f6451e60ee8ad18e74;hpb=d2d56f38da01001c92a09afc6b52b5acbd9bc13c;p=fs%2Flustre-release.git diff --git a/lustre/tests/krb5_login.sh b/lustre/tests/krb5_login.sh index e80ae7c2..b2a4205 100755 --- a/lustre/tests/krb5_login.sh +++ b/lustre/tests/krb5_login.sh @@ -7,11 +7,7 @@ if [ $UID -eq 0 ]; then exit 0 fi -if [ -z "$KRB5DIR" ]; then - KRB5DIR=/usr/kerberos -fi - -$KRB5DIR/bin/klist -5 -s +klist -5 -s invalid=$? if [ $invalid -eq 0 ]; then @@ -20,7 +16,7 @@ fi echo "***** refresh Kerberos V5 TGT for uid $UID *****" if [ -z "$GSS_PASS" ]; then - $KRB5DIR/bin/kinit + kinit else expect <