summaryrefslogtreecommitdiffstats
path: root/source4/libcli/smb2
Commit message (Collapse)AuthorAgeFilesLines
* handle pushing of zero length smb2 stringsAndrew Tridgell2008-02-181-0/+6
| | | | (This used to be commit 66d0502228b31533b5d93731128a681992c22eda)
* fixed handling of zero sized buffers versus NULL buffers inAndrew Tridgell2008-02-161-10/+31
| | | | | SMB2. Thanks to Metze for spotting this. (This used to be commit fbcf3e65b9284e5d1862c98706d7f148a36afe47)
* updated SMB2 code for getinfo according to WSPP docsAndrew Tridgell2008-02-145-26/+75
| | | | | | | - Updated getinfo structures and field names - also updated the protocol revision number handling to reflect new docs (This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
* A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell2008-02-141-0/+6
| | | | | | 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-141-1/+1
| | | | | | | | | | 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-143-0/+22
| | | | | | | | | | | | | | | | | | | 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-132-26/+54
| | | | | Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
* updated SMB2 tcon as per WSPP docsAndrew Tridgell2008-02-134-6/+36
| | | | (This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
* updated SMB2 header defines to match WSPP docsAndrew Tridgell2008-02-128-23/+24
| | | | (This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
* converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell2008-02-121-10/+12
| | | | (This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
* converted the out side of SMB2 negprot handlingAndrew Tridgell2008-02-122-35/+32
| | | | | | 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)
* fixed up the .in side of SMB2 negprotAndrew Tridgell2008-02-123-13/+39
| | | | | fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
* r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij2008-01-021-1/+3
| | | | | | functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
* r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2007-12-211-2/+3
| | | | (This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
* r26409: Pass smb ports along.Jelmer Vernooij2007-12-211-2/+3
| | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
* r26376: Add context for libcli_resolve.Jelmer Vernooij2007-12-212-4/+5
| | | | (This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
* r26337: Move global_loadparm to a higher caller.Jelmer Vernooij2007-12-212-2/+3
| | | | (This used to be commit baa5bcd303c72431dfa638edde72cded4265c612)
* r26316: Use contexts for conversion functions.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
* r26266: Remove more global_loadparm uses.Jelmer Vernooij2007-12-211-2/+4
| | | | (This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
* r26260: Store loadparm context in gensec context.Jelmer Vernooij2007-12-211-4/+6
| | | | (This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-1021-53/+53
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij2007-10-101-1/+2
| | | | | | | | 2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-1/+1
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25027: Fix more warnings.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
* r24994: Fix some C++ warnings.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
* r24780: More work allowing libutil to be used by external users.Jelmer Vernooij2007-10-101-3/+2
| | | | (This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
* r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-1023-69/+46
| | | | | | 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)
* r22866: handle incoming chained smb2 requests in our server code to letStefan Metzmacher2007-10-102-13/+13
| | | | | | | the windows explorer in longhorn beta3 work. metze (This used to be commit 2390c9f24daccec917608cac0870890cdc73cb1c)
* r22791: make it possible to use smb2_create_blob_add() in the server code tooStefan Metzmacher2007-10-101-3/+3
| | | | | metze (This used to be commit c08eeb62ca001cebcb7af2b655269e4b388e69c1)
* r22788: fix typoStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 635a636e89e462825efaacd5563c40fec2ceefb1)
* r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell2007-10-101-1/+0
| | | | (This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
* r20647: add cluster codeAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
* r18715: 0x8 style status returns should also fail here (thanks metze)Andrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit f55de25ab30f9270bbd139dc1e683101db1069c8)
* r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell2007-10-101-2/+2
| | | | | | | | | emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
* r17930: Merge noinclude branch:Jelmer Vernooij2007-10-102-2/+2
| | | | | | | * Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
* r17318: make better usage of the composite apiStefan Metzmacher2007-10-102-51/+13
| | | | | metze (This used to be commit 683fc25f6524a3821ba70529251aabe97bad9370)
* r17083: - implement SMB2 Cancel in the clientStefan Metzmacher2007-10-105-5/+105
| | | | | | | | - the 0xffffffffffffffff seqnum is reserved for SMB2 Break (oplock breaks) so don't use it in a request. we should someday try to test this... metze (This used to be commit 730cdc4475822e28cb400116641294a7f98ad0b5)
* r17081: add idle handler support to the smb2 client lib tooStefan Metzmacher2007-10-102-0/+45
| | | | | metze (This used to be commit 1f48e7dca6a06078f3655a7f7a8f109bd6c0cb8e)
* r17020: pass the real error to the failing requestsStefan Metzmacher2007-10-101-4/+8
| | | | | metze (This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5)
* r17019: don't timeout on notifiesStefan Metzmacher2007-10-101-0/+4
| | | | | metze (This used to be commit 8d4fd35b10b176d31f986bbca5848091dffcd657)
* r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher2007-10-102-24/+29
| | | | | | | | | RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
* r16975: implement SMB2 Notify call in the client libStefan Metzmacher2007-10-103-0/+106
| | | | | metze (This used to be commit a455dc7a8392230395c0e444f76a4ca13192f871)
* r16875: implement SMB2 Find in the frontendStefan Metzmacher2007-10-101-4/+0
| | | | | metze (This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)
* r16873: - grow the buffer with the correct size, we maybe had 1 byte ↵Stefan Metzmacher2007-10-101-8/+8
| | | | | | | | | preallocated - body_size doesn't contain the preallocated byte so don't remove it metze (This used to be commit 3cf50e26b7dc11d85c46ef81a36c74acf97085c0)
* r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher2007-10-101-7/+7
| | | | | | | of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
* r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher2007-10-102-15/+15
| | | | | | | | | is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)