From 0ca88077341f9e75c8d1f75278fb462d1cc4f99f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 17 Apr 2007 03:52:08 +0000 Subject: r22295: Use delegated credentials and kerberos to test the pass-though authenticatication as well as the ntvfs/cifs layer. Andrew Bartlett (This used to be commit a59ec710ce546f3948bdb655dfcb98e2aa55f039) --- source4/script/tests/Samba4.pm | 7 +++---- source4/script/tests/test_cifs.sh | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'source4/script') diff --git a/source4/script/tests/Samba4.pm b/source4/script/tests/Samba4.pm index 6999e049bb..28d8b91aa5 100644 --- a/source4/script/tests/Samba4.pm +++ b/source4/script/tests/Samba4.pm @@ -463,11 +463,10 @@ sub provision($$$$$) [cifs] read only = no ntvfs handler = cifs - cifs:server = $server - cifs:user = $username - cifs:password = $password - cifs:domain = $domain + cifs:server = $netbiosname cifs:share = tmp +#There is no username specified here, instead the client is expected +#to log in with kerberos, and smbd will used delegated credentials. [simple] path = $tmpdir diff --git a/source4/script/tests/test_cifs.sh b/source4/script/tests/test_cifs.sh index fefa9169dd..2bf3c4a5b1 100755 --- a/source4/script/tests/test_cifs.sh +++ b/source4/script/tests/test_cifs.sh @@ -17,5 +17,5 @@ for t in $tests; do continue; fi start="" - plantest "ntvfs/cifs $t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/cifs -U"\$USERNAME"%"\$PASSWORD" $t + plantest "ntvfs/cifs $t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$NETBIOSNAME/cifs -U"\$USERNAME"%"\$PASSWORD" $t done -- cgit