summaryrefslogtreecommitdiffstats
path: root/source4/libcli/raw
Commit message (Collapse)AuthorAgeFilesLines
...
* libcli/raw: remove unused smbcli_request_receive_more() functionStefan Metzmacher2008-07-071-13/+0
| | | | | metze (This used to be commit e1d81388fcabba9a947ed0be9ccae875e2b19135)
* libcli/raw: use the new recv_helper infrastructure for trans/trans2 repliesStefan Metzmacher2008-07-071-184/+313
| | | | | metze (This used to be commit ec67c61b6a82e4f39a15f37a98ae3fe93bb81316)
* libcli/raw: use the new recv_helper infrastructure for nttrans repliesStefan Metzmacher2008-07-071-102/+145
| | | | | metze (This used to be commit 5bf136e233e26b4372155f494bae5118ef777a76)
* libcli/raw: add a recv_helper hook infrastructureStefan Metzmacher2008-07-072-1/+23
| | | | | | | | | | | | The recv helper will be called when a response comes and the recv helper can decide to let the request on the SMBCLI_REQUEST_RECV when more reponse packets are expected. It's up to the helper function to keep a reference to the in buffers, each incoming response overwrites req->in. metze (This used to be commit 6d84af89ba96627abe142ba7080c24ae2421ed6c)
* libcli/raw: the nttrans setup count is only 8-bitStefan Metzmacher2008-07-071-1/+1
| | | | | metze (This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)
* ensure we don't end up with a partially initialised EA structureAndrew Tridgell2008-06-061-0/+2
| | | | (This used to be commit 388f4fde3655146bf57b4c51c59c39f475aa7fe8)
* updated some info levels based on WSPP docsAndrew Tridgell2008-06-023-21/+52
| | | | (This used to be commit f84620324a8cebcd2fd19388d910928ca1ad1334)
* added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell2008-05-291-1/+8
| | | | (This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
* added support for all of the known SMB2 create tags in our clientAndrew Tridgell2008-05-281-4/+16
| | | | | library (This used to be commit 597b38e97b01d2137e6ac96ca07cd56fadb2c09e)
* ensure that we honor SMB2 read min_count properlyAndrew Tridgell2008-05-271-1/+1
| | | | (This used to be commit 318038d6f670efffa96d8b0db63f46b3752e1cd3)
* added support for the output fields of SMB2 closeAndrew Tridgell2008-05-271-6/+25
| | | | (This used to be commit 2633bc749792c224acc73a2e4ca723404331c19c)
* stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell2008-05-262-2/+8
| | | | (This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
* pass in the required alignment to the EA construction routinesAndrew Tridgell2008-05-222-6/+7
| | | | (This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
* added a define for all valid file attributesAndrew Tridgell2008-05-221-0/+1
| | | | (This used to be commit 198ed9336756f973cebd7cc3df7f51e2c4575205)
* fixed parsing of the SMB2 ALL_INFO qfileinfo levelAndrew Tridgell2008-05-222-2/+4
| | | | (This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)
* fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell2008-05-211-1/+5
| | | | (This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
* fixed SMB2 lockingAndrew Tridgell2008-05-211-13/+15
| | | | | | | | | - SMB2 locking is different in several ways from SMB locking. To fix it properly we will need a new generic mapping structure for locking, but for now do a best effort mapping - added locking to gentest_smb2 (This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
* update some SMB2 find flagsAndrew Tridgell2008-05-151-3/+4
| | | | (This used to be commit b7560afd4bab984c0083e9687b69bc42970ad932)
* Add comment explaining why io.in.workgroup isn't important.Andrew Bartlett2008-04-241-0/+5
| | | | | | | | This protocol feild isn't used by servers (apparently), so we might be able to get rid of it. Andrew Bartlett (This used to be commit 58935acc7c8e97323d5d5979234ef26ef8a100a4)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-16/+6
| | | | | | | | the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
* libcli: define structure for SMB2 BreakStefan Metzmacher2008-04-191-1/+16
| | | | | metze (This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
* fix the overflow/wrap checks in Samba4 for new gcc optimisation behaviorAndrew Tridgell2008-04-172-6/+6
| | | | | | The approach I have used is as set out in https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array (This used to be commit 92d5fb531db39be655f0cbd2d75b5f675a0a4cfa)
* libcli/smb2: make it possible to pass additional extra blobs in smb2_create()Stefan Metzmacher2008-04-171-0/+8
| | | | | | | This also fixes the alignment from 8 to 4 byte bounderies. metze (This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)
* fill in unknown fields in SMB2 READ callAndrew Tridgell2008-04-141-5/+13
| | | | (This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-0221-47/+142
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* libcli/raw: add RAW_RENAME_NTTRANS supportStefan Metzmacher2008-03-112-1/+38
| | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit bfe773a620640fa46efe008f38144f5452350825)
* libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKSStefan Metzmacher2008-03-061-0/+4
| | | | | | | | But the keep the default to always send it when the server supports it too. metze (This used to be commit 33caaef2e46557525a8ffb79d6dd0db46a079529)
* Remove uses of global_loadparm.Jelmer Vernooij2008-02-251-1/+3
| | | | (This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
* Fix the build.Jelmer Vernooij2008-02-212-2/+4
| | | | (This used to be commit f4b31ad76771d674ec85cd155b023eed377e6eb4)
* Remove yet more global_loadparm instances.Jelmer Vernooij2008-02-212-0/+8
| | | | (This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
* Remove more uses of global_loadparm.Jelmer Vernooij2008-02-211-2/+3
| | | | (This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
* fixed RAW-READ after the bufinfo changes. Thanks to Metze for spottingAndrew Tridgell2008-02-161-0/+3
| | | | | this. (This used to be commit 3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1)
* A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell2008-02-142-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)
* Fixed SMB2 rename operations from Vista clientsAndrew Tridgell2008-02-143-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)
* Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell2008-02-1412-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)
* updated SMB2 create operation to match WSPP.Andrew Tridgell2008-02-131-12/+13
| | | | | Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
* updated SMB2 tcon as per WSPP docsAndrew Tridgell2008-02-131-7/+6
| | | | (This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
* converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell2008-02-121-15/+8
| | | | (This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
* converted the out side of SMB2 negprot handlingAndrew Tridgell2008-02-121-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)
* added some helper functions for GUID handlingAndrew Tridgell2008-02-121-0/+41
| | | | (This used to be commit 7d3ffd4d2b59d7c87c0a81030f349db21c071967)
* r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of ↵Jelmer Vernooij2008-01-061-0/+1
| | | | | | | cifsdd tests. Thanks to Andrew for catching this. Also fixes a typo in sessetup.c. (This used to be commit b97de4a655b989a481d5d001ce9a5d3969d2909c)
* r26669: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij2008-01-053-6/+5
| | | | (This used to be commit 50c46160d997e0448f51ae09e0f3c79e8519fa41)
* r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij2008-01-033-19/+8
| | | | | | options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
* r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij2008-01-034-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)
* r26646: libcli/smb_composite: Allow specifying SMB parameters in ↵Jelmer Vernooij2008-01-021-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)
* r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij2008-01-023-6/+10
| | | | | | functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
* r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij2008-01-012-2/+2
| | | | | | library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
* r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij2008-01-012-2/+2
| | | | | | ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
* r26432: Require ndr_pull users to specify iconv_convenience.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
* r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)