summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb/nttrans.c
AgeCommit message (Collapse)AuthorFilesLines
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-10r21206: - a couple more nttrans places were a memcpy() should be usedAndrew Tridgell1-8/+4
- 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-10r21183: Commit the big/little endian fix for nttrans setup[] handling.Volker Lendecke1-4/+3
Please check! For code symmetry reasons, trans2 might also see this fix, but this is left to the interested reader :-) Volker (This used to be commit f2d364ebe69fc5d624e456cc7d941071811a5567)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-16/+17
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher1-5/+10
- to use a struct ntvfs_handle instead of a uint16_t fnum. (to make it independend from the frontend protocol) - the allocation of handles now is provided by the frontend (smbsrv_*) via callbacks and not by each backend module - this also makes sure that file handles are only passed to the ntvfs subsystem when the tcon and session matches, so modules can rely on this and need to check this. - this allows multiple modules in the ntvfs module chain to allocate file handles. This can be used for virtual files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"... - also this will make SMB2 with 128 bit file handles possible metze (This used to be commit 287fc1c22d670f6e568014b420f7f4cb31dc7958)
2007-10-10r15714: fix async handling of ntioctl calls and push the DATA_BLOB into the ↵Stefan Metzmacher1-22/+32
reply metze (This used to be commit 0ac9a49f42719914e63758ea4e53cab65dcdd317)
2007-10-10r15711: - make use of nttrans_setup_reply()Stefan Metzmacher1-14/+9
metze (This used to be commit a870c084f6a97fc4f165510e9d447d97f0ee328f)
2007-10-10r15710: - we no longer need to set the nttrans out fields to zeroStefan Metzmacher1-11/+5
in the backends - some whitespace cleanups metze (This used to be commit 6a0c24c73e1060824576d60459d4636848f2173a)
2007-10-10r15709: - return an error is better than ignoring a non supported requestStefan Metzmacher1-0/+2
- zero nttrans output fields before calling the backends metze (This used to be commit b21d98a87590b00c63ccc47b71518f1714ecb29d)
2007-10-10r15708: setup count is 8bit and param_count and data_count are 32bitStefan Metzmacher1-2/+2
metze (This used to be commit 6bc89b422ccdfca6d383b8474452d57b55dfaed6)
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-3/+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-10r14807: fixed the format of notify responses (forgot to commit this earlier)Andrew Tridgell1-6/+11
(This used to be commit fb91a37e926963acfc90fe276a33c7a329a023e8)
2007-10-10r14638: we need to call smbsrv_setup_reply() before using smbsrv_setup_error()Stefan Metzmacher1-2/+2
tridge: can you please check if the whole function ok? jelmer: this fixes a crash bug, when asking for Security Descriptors and should be in the TP2 metze (This used to be commit b5edcde79339be0fec94e440a87c8191cf53e937)
2007-10-10r14541: separate smbsrv_request and ntvfs_request,Stefan Metzmacher1-27/+11
with this it's now possible to write a ntvfs_test programm like the vfstest in samba3 also smb2 support will be possible later metze (This used to be commit 7253153691e35cd206346fbd4e9b9f95c042f602)
2007-10-10r14539: get rid of a pointless union layer in struct smb_notifyAndrew Tridgell1-12/+12
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-0/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-5/+5
- 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-10r14173: change smb interface structures to always useStefan Metzmacher1-16/+16
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-10r14157: - pass a struct ntvfs_request to the ntvfs layerStefan Metzmacher1-1/+1
(for now we just do #define ntvfs_request smbsrv_request, but it's the first step...) - rename ntvfs_openfile() -> ntvfs_open() - fix the talloc hierachie in some places in the ntvfs_map_*() code metze (This used to be commit ed9ed1f48f602354810937c0b0de850b44322191)
2007-10-10r14142: fixed ascii padding of nttrans create in server tooAndrew Tridgell1-2/+2
(This used to be commit 2cd4cd1674b7491abf796f625ee098bb2c03e631)
2007-10-10r14013: added construction of the notify reply buffer in the nttrans serverAndrew Tridgell1-9/+62
code the RAW-NOTIFY test now passes against the CIFS backend (This used to be commit e03a2e2de2ad7cd7e692248a681a46ffc1447541)
2007-10-10r14011: - added a ntvfs_notify op to allow backends to support change notifyAndrew Tridgell1-186/+267
- converted the nttrans server side code to be async (needed for change notify) This is the start of some work on supporting change notify via a new approach. More soon. (This used to be commit 0ad70bfd83b4a03c0e67f11f63822b833be67aa1)
2007-10-10r13877: remove smbsrv_send_dos_error() and use ↵Stefan Metzmacher1-1/+1
smbsrv_send_error(..,NT_STATUS_DOS()) metze (This used to be commit 60d7920527cd0e4142427fa59b9e617d99e3d984)
2007-10-10r13870: prefix more functions with smbsrv_Stefan Metzmacher1-11/+11
metze (This used to be commit e6275db7b926d3660ad4a0f40041a5129001427a)
2007-10-10r13865: prefix functions with smbsrv_Stefan Metzmacher1-2/+2
metze (This used to be commit 2af96632757ee4bb0261b1871100008b48c5fd4d)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-1/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij1-0/+1
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r11786: move all SMB protocol specific stuff to smb_server/smb/Stefan Metzmacher1-0/+518
metze (This used to be commit 5fea278cb65076cea71bb6c921e51c4feffc37d7)