1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/libcli
Andrew Tridgell e870cfec9f Convert SMB and SMB2 code to use a common buffer handling structure
This converts our SMB and SMB2 code to use a common structure "struct
request_bufinfo" for information on the buffer bounds of a packet,
alignment information and string handling. This allows us to use a
common backend for SMB and SMB2 code, while still using all the same
string and blob handling functions.

Up to now we had been passing a NULL req handle into these common
routines from the SMB2 side of the server, which meant that we failed
any operation which did a bounds checked string extraction (such as a
RenameInformation setinfo call, which is what Vista uses for renaming
files)

There is still some more work to be done on this - for example we can
now remove many of the SMB2 specific buffer handling functions that we
had, and use the SMB ones.
(This used to be commit ca6d9be6cb)
2008-02-14 10:12:33 +11:00
..
auth r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument. 2008-01-03 12:33:36 -06:00
cldap util: Move asn1 to lib/util to trim down the number of subsystems. 2008-01-15 01:04:38 +01:00
composite [PATCH] composite: make it possible to call composite_is_ok() without callback fn 2008-02-12 12:49:43 +01:00
dgram r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
ldap util: Move asn1 to lib/util to trim down the number of subsystems. 2008-01-15 01:04:38 +01:00
nbt r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
rap r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
raw Convert SMB and SMB2 code to use a common buffer handling structure 2008-02-14 10:12:33 +11:00
resolve r26437: remove another use of global_loadparm. 2007-12-21 05:50:05 +01:00
security r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const. 2007-12-26 11:57:05 -06:00
smb2 Convert SMB and SMB2 code to use a common buffer handling structure 2008-02-14 10:12:33 +11:00
smb_composite r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of cifsdd tests. Thanks to Andrew for catching this. 2008-01-06 16:06:04 -06:00
smbc r9824: r9495@cabra: derrell | 2005-08-31 09:33:55 -0400 2007-10-10 13:36:15 -05:00
swig python: Reenable modules for libcli_nbt and libcli_smb. 2008-01-21 03:54:42 +01:00
util util: Move asn1 to lib/util to trim down the number of subsystems. 2008-01-15 01:04:38 +01:00
wrepl r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
cliconnect.c r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct. 2008-01-03 12:33:36 -06:00
clideltree.c r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
clifile.c r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
clilist.c r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
climessage.c r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
clireadwrite.c r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
clitrans2.c r25027: Fix more warnings. 2007-10-10 15:05:41 -05:00
config.mk build: Remove support for DESCRIPTION setting that is now unused. 2008-01-22 18:49:51 +01:00
finddcs.c r26435: Remove global_loadparm instance. 2007-12-21 05:50:04 +01:00
libcli.h r25047: Fix more warnings. 2007-10-10 15:05:49 -05:00