summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/request.h
AgeCommit message (Collapse)AuthorFilesLines
2008-02-14Fixed SMB2 rename operations from Vista clientsAndrew Tridgell1-1/+4
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 Tridgell1-1/+15
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)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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-10r18211: wct is not a size, so don't use size_tAndrew Tridgell1-1/+1
this should fix a pile of printf format warnings (This used to be commit fe209e360e3857f39355335e4fa6a43b2db23038)
2007-10-10r15191: Avoid uint_t as it's not standard.Jelmer Vernooij1-4/+4
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij1-0/+62
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)