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:
committed by
Gerald (Jerry) Carter
parent
d7fe1f182b
commit
0ca8807734
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user