1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/param
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
..
tests Avoid including libds/common/roles.h in public loadparm.h header. 2016-01-13 04:43:23 +01:00
loadparm.c libcli/smb: add max_credits arg to smbXcli_negprot_send() 2017-03-03 21:55:27 +01:00
provision.c Move python modules from source4/scripting/python/ to python/. 2013-03-02 03:57:34 +01:00
provision.h s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampire 2012-08-22 01:31:57 +02:00
pyparam_util.c Use public pytalloc header file. 2011-08-14 17:18:46 +02:00
pyparam.c s4:param add log_level function to retrieve log level in Python code 2016-09-14 19:31:20 +02:00
pyparam.h s4-loadparm: 2nd half of lp_ to lpcfg_ conversion 2010-07-16 18:24:27 +10:00
secrets.c Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
secrets.h Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
share_classic.c lib/param: handle non-constant strings properly by passing in a memory context 2014-02-20 10:11:06 +13:00
share_ldb.c s4-param: Make sure newname is not used uninitialized 2015-11-17 16:48:23 +01:00
share.c s4: pass down a memory context when performing share_string_option, to allow substitutions 2014-02-20 10:11:00 +13:00
share.h s4: pass down a memory context when performing share_string_option, to allow substitutions 2014-02-20 10:11:00 +13:00
wscript_build build: mark explicit dependencies on pytalloc-util 2016-03-15 07:08:16 +01:00