1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/libcli/smb2
Ralph Boehme 8cbdc6a6df libcli/smb: add max_credits arg to smbXcli_negprot_send()
This allows source4/torture code to set the option for tests by
preparing a struct smbcli_options with max_credits set to some value and
pass that to a torture_smb2_connection_ext().

This will be used in subsequent smbtorture test for SMB2 creditting.

Behaviour of existing upper layers is unchanged, they simply pass the
wanted max credits value to smbXcli_negprot_send() instead of
retrofitting it with a call to smb2cli_conn_set_max_credits().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-03-03 21:55:27 +01:00
..
break.c
cancel.c
close.c
connect.c libcli/smb: add max_credits arg to smbXcli_negprot_send() 2017-03-03 21:55:27 +01:00
create.c s4:libcli/smb2: initialize ls->lease_version 2014-11-27 16:45:05 +01:00
find.c Rename SMB2_OP_FIND to SMB2_OP_QUERY_DIRECTORY so that it conforms with the MS document MS-SMB2. 2015-03-27 01:24:47 +01:00
flush.c
getinfo.c
ioctl.c smb2_ioctl: remove ioctl error response assumptions 2013-01-16 23:15:07 +01:00
keepalive.c
lease_break.c
lock.c
logoff.c
notify.c
read.c
request.c s4:libcli/smb2: remove unused smb2_session->pid 2012-07-25 12:15:05 +02:00
session.c s3:libsmb: remove unused smb2cli.h 2014-09-30 23:35:08 +02:00
setinfo.c
signing.c s4:libcli:smb2: Use constant time memcmp() to verify the signature 2016-04-19 09:37:14 +02:00
smb2_calls.h
smb2.h s4:libcli/smb2: add smb2_session_channel() 2014-07-24 19:07:06 +02:00
tcon.c s4:libcli/tcon: remove unused smb2_tree_connect*() 2014-09-30 23:35:08 +02:00
tdis.c
transport.c s4:libcli/smb2: add new_epoch to struct smb2_lease_break 2014-11-27 16:45:05 +01:00
util.c s4-libcli: Add smb2_util_handle_empty(). 2013-12-06 01:14:09 +01:00
write.c s4:libcli/smb2/write correct error checking 2012-08-06 20:01:01 +02:00
wscript_build Make libcli-smb-raw private, for now. 2016-01-13 04:43:23 +01:00