1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-24 21:49:29 +03:00

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 a59ec710ce)
This commit is contained in:
Andrew Bartlett
2007-04-17 03:52:08 +00:00
committed by Gerald (Jerry) Carter
parent d7fe1f182b
commit 0ca8807734
2 changed files with 4 additions and 5 deletions

View 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

View File

@ -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