From 5564106268e9afd0426d8bfa9b2875185e590440 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sat, 21 May 2011 13:25:51 -0700 Subject: [PATCH] use client-amel --- tests/kdc/check-digest.in | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/tests/kdc/check-digest.in b/tests/kdc/check-digest.in index 90eb130b1..243985883 100644 --- a/tests/kdc/check-digest.in +++ b/tests/kdc/check-digest.in @@ -131,20 +131,29 @@ export NTLM_USER_FILE echo "test_context --mech-type=ntlm" ${test_context} --mech-type=ntlm \ - --name-type=hostbased-service datan@TEST || \ - { echo "test_context 1 failed"; exit 1; } + --client-name=foo@TEST \ + --name-type=hostbased-service datan@TEST || \ + { echo "test_context 1 failed"; exit 1; } ${test_context} --mech-type=ntlm \ - --name-type=hostbased-service datan@host.TEST || \ - { echo "test_context 2 failed"; exit 1; } + --client-name=foo@TEST \ + --name-type=hostbased-service datan@host.TEST || \ + { echo "test_context 2 failed"; exit 1; } + +echo ${test_context} --mech-type=ntlm \ + --client-name=foo@TEST \ + --name-type=hostbased-service datan@host.test.domain2 +bash ${test_context} --mech-type=ntlm \ - --name-type=hostbased-service datan@host.test.domain2 || \ - { echo "test_context 3 failed"; exit 1; } + --client-name=foo@TEST \ + --name-type=hostbased-service datan@host.test.domain2 || \ + { echo "test_context 3 failed"; exit 1; } ${test_context} --mech-type=ntlm \ - --name-type=hostbased-service datan@host.foo 2>/dev/null && \ - { echo "test_context 4 failed"; exit 1; } + --client-name=foo@TEST \ + --name-type=hostbased-service datan@host.foo 2>/dev/null && \ + { echo "test_context 4 failed"; exit 1; } echo "Trying SL in NTLM" @@ -158,6 +167,7 @@ for type in \ echo "Trying NTLM type: ${type}" ${test_context} --mech-type=ntlm ${type} \ + --client-name=foo@TEST \ --name-type=hostbased-service datan@TEST || \ { echo "test_context 1 failed"; exit 1; } -- 2.11.4.GIT