summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-17 03:52:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:58 -0500
commit0ca88077341f9e75c8d1f75278fb462d1cc4f99f (patch)
tree220ba860ef6d2eb20f5d8bf1215104f7f815faf2
parentd7fe1f182b042696c39df6a36d5e0af72be4e48f (diff)
downloadsamba-0ca88077341f9e75c8d1f75278fb462d1cc4f99f.tar.gz
samba-0ca88077341f9e75c8d1f75278fb462d1cc4f99f.tar.bz2
samba-0ca88077341f9e75c8d1f75278fb462d1cc4f99f.zip
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)
-rw-r--r--source4/script/tests/Samba4.pm7
-rwxr-xr-xsource4/script/tests/test_cifs.sh2
2 files changed, 4 insertions, 5 deletions
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