From: Andrew Bartlett Date: Tue, 17 Apr 2007 03:52:08 +0000 (+0000) Subject: r22295: Use delegated credentials and kerberos to test the pass-though X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=0ca88077341f9e75c8d1f75278fb462d1cc4f99f;p=jra%2Fsamba%2F.git 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) --- diff --git a/source4/script/tests/Samba4.pm b/source4/script/tests/Samba4.pm index 6999e049bb1..28d8b91aa55 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 fefa9169dde..2bf3c4a5b1b 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