summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/interfaces.h
AgeCommit message (Collapse)AuthorFilesLines
2008-04-19libcli: define structure for SMB2 BreakStefan Metzmacher1-1/+16
metze (This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
2008-04-17libcli/smb2: make it possible to pass additional extra blobs in smb2_create()Stefan Metzmacher1-0/+8
This also fixes the alignment from 8 to 4 byte bounderies. metze (This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)
2008-04-14fill in unknown fields in SMB2 READ callAndrew Tridgell1-5/+13
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
2008-03-11libcli/raw: add RAW_RENAME_NTTRANS supportStefan Metzmacher1-1/+12
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit bfe773a620640fa46efe008f38144f5452350825)
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell1-1/+4
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 Tridgell1-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)
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)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij1-0/+1
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-7/+7
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
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-10r23519: added libcli code for fetching shadow copy informationAndrew Tridgell1-0/+15
(This used to be commit a9c23729f253f65825466cfef965d259ec35a54c)
2007-10-10r23138: added a raw interface for SMBecho operationsAndrew Tridgell1-0/+18
(This used to be commit 590c6c21db5abd436441a9af62ee65436d6f1222)
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-10r21949: After discussion with the Apple and Linux client maintainers,James Peach1-1/+1
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 Peach1-4/+80
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r21206: - a couple more nttrans places were a memcpy() should be usedAndrew Tridgell1-3/+3
- 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-10r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.Andrew Tridgell1-1/+1
(This used to be commit 1e34e4d5a1fd3d74080424140e4ab276b6042d12)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-14/+51
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r16918: the SMB2 Ioctls are sometimes called with a wildcard handleStefan Metzmacher1-1/+2
the operation doesn't need a valid file handle in that case metze (This used to be commit d41a83d55945b07020349339888f3a34ac4eff4e)
2007-10-10r16875: implement SMB2 Find in the frontendStefan Metzmacher1-0/+9
metze (This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher1-29/+45
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r16708: the packet format of SMB2 SessionSetup has changed,Stefan Metzmacher1-4/+9
there're 8 more unknown bytes... Note: - vista-CTP also support this as a server, but uses the old format as client - but vista-beta2 only uses and accept the new format metze (This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10r16699: the layout of SMB2 Read and Write is identical...Stefan Metzmacher1-3/+1
so we know that the 9th bytes is just uninitialized padding metze (This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
2007-10-10r15814: add SMB2 Lock interface structureStefan Metzmacher1-1/+33
metze (This used to be commit 8f1850ef65dc8c860912639d787d82399d015f13)
2007-10-10r15756: handle RAW_OPEN_SMB2Stefan Metzmacher1-0/+3
metze (This used to be commit 8aebd7adc9a0288ebf6b8d84fc376d699054a520)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher1-18/+346
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r15737: fix a typos and commentStefan Metzmacher1-2/+2
metze (This used to be commit 1f50b2e0534ee25861b6812b64d91f63cbb118ad)
2007-10-10r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different ↵Stefan Metzmacher1-0/+7
level metze (This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
2007-10-10r15656: for NT IOCTL's we need to control the max_data field for some callsStefan Metzmacher1-0/+1
metze (This used to be commit 3cab02f6f513cf7eb3d8863e62952766bb4d908f)
2007-10-10r15640: - NT IOCTL calls also have an 'in' data_blobStefan Metzmacher1-0/+1
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload not the SMB payload here metze (This used to be commit 358d03143f0a78344c1af720e33ebe2619df09df)
2007-10-10r15638: add a usefull macro to get a pointer the smb_handle unionStefan Metzmacher1-1/+43
of smb_open, as it's not nicely alligned for all levels, If someone has an idea for a better solution where we can access it via op->generic.out.file.* please let me know:-) metze (This used to be commit d0a7408280c35dc4a5a21cbbded895c6c83819e6)
2007-10-10r15505: - add 'generic' alias to smb_seek and smb_flushStefan Metzmacher1-8/+14
- add struct ntvfs_handle pointer to smb_file, this will later be used by the ntvfs backends metze (This used to be commit 8322fc70adbb951ad72b97dfcc91467c1d906afe)
2007-10-10r14539: get rid of a pointless union layer in struct smb_notifyAndrew Tridgell1-15/+13
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10r14511: Install more headersJelmer Vernooij1-0/+6
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-131/+160
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell1-0/+1
metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
2007-10-10r14205: move smb specific stuff out of includes.h (finally!!!:-)Stefan Metzmacher1-44/+27
all this changes really help ccache to speed up the samba4 build:-) metze (This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher1-138/+142
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r13658: More moving around of files:Jelmer Vernooij1-2/+0
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13654: Move some more stuff out of include/Jelmer Vernooij1-0/+2035
(This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32)