summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2008-02-14updated SMB2 code for getinfo according to WSPP docsAndrew Tridgell5-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)
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell3-1/+21
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 Tridgell4-5/+11
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 Tridgell15-50/+102
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 Tridgell3-38/+67
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2008-02-13Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-18/+13
(This used to be commit 11102681bcd70b0abb2df38bcdc7fdec51e71600)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell5-13/+42
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12[PATCH] composite: make it possible to call composite_is_ok() without ↵Stefan Metzmacher1-18/+13
callback fn metze (This used to be commit 4e459f1fb3ab60c586df9a08cdc57db424a30b18)
2008-02-12updated SMB2 header defines to match WSPP docsAndrew Tridgell8-23/+24
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
2008-02-12converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell2-25/+20
(This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
2008-02-12converted the out side of SMB2 negprot handlingAndrew Tridgell3-35/+36
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-02-12fixed up the .in side of SMB2 negprotAndrew Tridgell3-13/+39
fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-21python: Reenable modules for libcli_nbt and libcli_smb.Jelmer Vernooij7-446/+317
(This used to be commit 4fa8a2789c7a2fa912645f08ca5a3be891d173dd)
2008-01-15util: Move asn1 to lib/util to trim down the number of subsystems.Jelmer Vernooij7-833/+4
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2008-01-08r26694: asn1: Fix header and some typo's.Jelmer Vernooij1-6/+6
(This used to be commit f9988734bb8a1d823e14b6bff5c4d55d75471f18)
2008-01-06r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of ↵Jelmer Vernooij2-1/+2
cifsdd tests. Thanks to Andrew for catching this. Also fixes a typo in sessetup.c. (This used to be commit b97de4a655b989a481d5d001ce9a5d3969d2909c)
2008-01-05r26674: smb_composite: Avoid use of global_loadparm.Jelmer Vernooij1-2/+3
Hopefully this fixes OpenChange's mapiadmin. (This used to be commit 2df0f7016e27705c3799b2f6bb20fcc17b103c36)
2008-01-05r26670: Janitorial: Remove global_loadparm uses.Jelmer Vernooij1-2/+2
(This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)
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 Vernooij8-53/+20
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.Jelmer Vernooij1-2/+3
(This used to be commit e886f1bc0dc694971979716d1991535c7d2e08de)
2008-01-03r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij9-9/+19
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 Vernooij5-5/+34
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 Vernooij9-16/+33
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 Vernooij13-15/+19
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 Vernooij10-16/+26
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-27r26613: Add a function to write a DATA_BLOB into an LDAPString.Andrew Bartlett2-3/+10
This respects the length set in the DATA_BLOB, rather than hoping to see NULL termination of the data pointer. (found testing the Ambigious Name Resolution code against OpenLDAP). Andrew Bartlett (This used to be commit bc0022e8c7357b126dc91a945f0e53e4e4108e7d)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-3/+3
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-24r26572: Fix warnings in the Python code.Jelmer Vernooij4-23/+23
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24r26571: Hide warnings about unused macros and casting qualifiers in ↵Jelmer Vernooij1-2/+2
autogenerated files. (This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij2-46/+32
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-24r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works ↵Jelmer Vernooij1-0/+2
now. (This used to be commit 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19)
2007-12-21r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij1-1/+1
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21r26539: Remove unnecessary statics.Jelmer Vernooij1-1/+1
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21r26504: Don't rely on system-provided kerberos headers.Jelmer Vernooij1-2/+2
(This used to be commit c4b1df047663519300370508761c70b0c096b7f2)
2007-12-21r26483: Merge ldb module dependency fixes, fix auth python module.Jelmer Vernooij2-3/+4
(This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)
2007-12-21r26464: Tighten dependencies.Jelmer Vernooij2-3/+3
(This used to be commit 2b7cfa5d9ab94e1ff2d60719cd3749810463ab15)
2007-12-21r26463: Tighten dependencies.Jelmer Vernooij1-1/+2
(This used to be commit d98ac96dfe7bb055f9ad49bc6864890285aa59ed)
2007-12-21r26461: Tighten dependencies.Jelmer Vernooij1-1/+2
(This used to be commit a07050be33d9c8e8033063b393162884075fa2af)
2007-12-21r26459: Build ildap module as shared module by default.Jelmer Vernooij1-1/+1
(This used to be commit 91cff7dad2eb0467e6b9a86963859e99ded137f8)
2007-12-21r26454: Add simple SWIG macro for wrapping talloced types.Jelmer Vernooij2-77/+80
(This used to be commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)
2007-12-21r26437: remove another use of global_loadparm.Jelmer Vernooij4-14/+54
(This used to be commit 703f17bc0986775bf3fe489eb5c876937dabaa9d)
2007-12-21r26435: Remove global_loadparm instance.Jelmer Vernooij1-2/+4
(This used to be commit 66fd8d480bdfeb1c95da8843da3d18abe3f997e1)
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 Vernooij4-15/+19
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26426: Remove uses of global_loadparm.Jelmer Vernooij1-5/+6
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij9-39/+29
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)