summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
AgeCommit message (Collapse)AuthorFilesLines
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-2/+3
(This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
2008-02-16fixed RAW-READ after the bufinfo changes. Thanks to Metze for spottingAndrew Tridgell1-0/+3
this. (This used to be commit 3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1)
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell2-1/+15
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2 and set that level when handling SMB2 packets. This makes the parsers clearer. (This used to be commit f6cdf3f1177f63d80be757f007eb15380839b4f5)
2008-02-14Fixed SMB2 rename operations from Vista clientsAndrew Tridgell3-4/+10
We needed a flag in bufinfo to mark packets as SMB2, as it seems that SMB2 uses a different format for the RenameInformation buffer than SMB does Also handle the fact that SMB2 clients give the full path to the target file in the rename, not a relative path (This used to be commit 52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell12-50/+80
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 ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
2008-02-13updated SMB2 create operation to match WSPP.Andrew Tridgell1-12/+13
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell1-7/+6
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell1-15/+8
(This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
2008-02-12converted the out side of SMB2 negprot handlingAndrew Tridgell1-0/+4
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server and do basic operations (This used to be commit 9dc284770df9393a1a619735dc7a148713936fa7)
2008-02-12added some helper functions for GUID handlingAndrew Tridgell1-0/+41
(This used to be commit 7d3ffd4d2b59d7c87c0a81030f349db21c071967)
2008-01-06r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of ↵Jelmer Vernooij1-0/+1
cifsdd tests. Thanks to Andrew for catching this. Also fixes a typo in sessetup.c. (This used to be commit b97de4a655b989a481d5d001ce9a5d3969d2909c)
2008-01-05r26669: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij3-6/+5
(This used to be commit 50c46160d997e0448f51ae09e0f3c79e8519fa41)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij3-19/+8
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij4-4/+6
The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
2008-01-02r26646: libcli/smb_composite: Allow specifying SMB parameters in ↵Jelmer Vernooij1-0/+8
smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections. (This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)
2008-01-02r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij3-6/+10
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij2-2/+2
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij2-2/+2
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26432: Require ndr_pull users to specify iconv_convenience.Jelmer Vernooij1-1/+2
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-1/+2
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2-7/+9
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij2-27/+13
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij2-3/+4
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26335: Specify name_resolve_order to socket code.Jelmer Vernooij1-0/+1
(This used to be commit b03e5d00110be3f1fe5809dad4eb6ca5cea7463d)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij2-13/+15
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij2-4/+7
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-12-21r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij1-1/+1
in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij1-3/+4
explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-12-21r25924: fix bug in UNIX_INFO2 push code found make make valgrindtestStefan Metzmacher1-1/+1
metze (This used to be commit 9b151e6ceaeaa15e8cbd92f452522fe005f2382f)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher5-24/+36
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij13-114/+115
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij5-10/+11
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij2-0/+73
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij5-0/+5
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25001: Fix more C++ and other warnings, fix some of the indentation with ↵Jelmer Vernooij3-1/+3
ts=4 lines that I accidently added earlier. (This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij4-5/+5
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij3-12/+12
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell29-87/+58
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23754: Make sure to check the status return before we de-reference theAndrew Bartlett1-0/+3
returned elements. Andrew Bartlett (This used to be commit 3a8192c74288b98bc61af95aa5cd39b1584411c1)
2007-10-10r23519: added libcli code for fetching shadow copy informationAndrew Tridgell3-3/+97
(This used to be commit a9c23729f253f65825466cfef965d259ec35a54c)
2007-10-10r23138: added a raw interface for SMBecho operationsAndrew Tridgell2-0/+86
(This used to be commit 590c6c21db5abd436441a9af62ee65436d6f1222)
2007-10-10r23057: only call the async recv function for the first pending receive, notAndrew Tridgell1-2/+5
all pending receives, when the transport dies. This is because the async callback most commonly shuts down the connection (it's the only reasonable thing to do when it's dead), and that frees the whole context. That means that if we loop more than once, we'll end up using freed memory. (This used to be commit 75d537d3a5e3fc5258ce48bfec0c0ce6160978f6)
2007-10-10r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3Stefan Metzmacher1-5/+6
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading and name in SMB2-LOCK-RW-EXCLUSIV - add SMB2-LOCK-NONE and SMB2-LOCK-SHARED metze (This used to be commit 258555975d3877cff3bc3022f3439cdd61f6c8ac)
2007-10-10r22790: fix initialization for chained requestsStefan Metzmacher1-0/+1
metze (This used to be commit e1cc933c009f98264c0e8c65bfd93a0d1219a0e2)
2007-10-10r21949: After discussion with the Apple and Linux client maintainers,James Peach2-6/+16
changing the FindFirst response for the UNIX_INFO2 level to include a length field before the name. The name is not required to be null terminated. the lenght field does not count any null. (This used to be commit eef672bfff6b112ceceec2a58c78042352e83276)
2007-10-10r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach5-25/+214
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. AddJames Peach1-0/+1
convenience API to create an anonymous credential. Don't clobber cmdline_credentials in the UNIX-WHOAMI test. (This used to be commit 73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
2007-10-10r21206: - a couple more nttrans places were a memcpy() should be usedAndrew Tridgell4-10/+9
- changed the setup array in nttrans to be a uint8 array, instead of a uint16 array. This makes it clearer that it is the job of the caller to do any byte swapping within that data (This used to be commit fa3c9b29ae1c7c6a9bc97484cc386aeec9b5d266)
2007-10-10r21183: Commit the big/little endian fix for nttrans setup[] handling.Volker Lendecke1-4/+2
Please check! For code symmetry reasons, trans2 might also see this fix, but this is left to the interested reader :-) Volker (This used to be commit f2d364ebe69fc5d624e456cc7d941071811a5567)
2007-10-10r20963: remove unused functions, run LOCAL-TDR by defaultJelmer Vernooij1-3/+3
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)