summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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