svn commit: samba r22295 - in
branches/SAMBA_4_0/source/script/tests: .
abartlet at samba.org
abartlet at samba.org
Tue Apr 17 03:52:09 GMT 2007
Author: abartlet
Date: 2007-04-17 03:52:08 +0000 (Tue, 17 Apr 2007)
New Revision: 22295
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22295
Log:
Use delegated credentials and kerberos to test the pass-though
authenticatication as well as the ntvfs/cifs layer.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/script/tests/Samba4.pm
branches/SAMBA_4_0/source/script/tests/test_cifs.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/Samba4.pm
===================================================================
--- branches/SAMBA_4_0/source/script/tests/Samba4.pm 2007-04-17 03:49:46 UTC (rev 22294)
+++ branches/SAMBA_4_0/source/script/tests/Samba4.pm 2007-04-17 03:52:08 UTC (rev 22295)
@@ -463,11 +463,10 @@
[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
Modified: branches/SAMBA_4_0/source/script/tests/test_cifs.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_cifs.sh 2007-04-17 03:49:46 UTC (rev 22294)
+++ branches/SAMBA_4_0/source/script/tests/test_cifs.sh 2007-04-17 03:52:08 UTC (rev 22295)
@@ -17,5 +17,5 @@
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
More information about the samba-cvs
mailing list