r22295: Use delegated credentials and kerberos to test the pass-though
authorAndrew Bartlett <abartlet@samba.org>
Tue, 17 Apr 2007 03:52:08 +0000 (03:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:50:58 +0000 (14:50 -0500)
authenticatication as well as the ntvfs/cifs layer.

Andrew Bartlett
(This used to be commit a59ec710ce546f3948bdb655dfcb98e2aa55f039)

source4/script/tests/Samba4.pm
source4/script/tests/test_cifs.sh

index 6999e049bb1cdcda496ffb3907a31bef80465ed0..28d8b91aa55862d5c16466a70ac20592481d06a2 100644 (file)
@@ -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
index fefa9169ddee0ecdb39e4859d378c7b92fb1d441..2bf3c4a5b1bd31236273562395132febaa06b286 100755 (executable)
@@ -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