summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15747: move some functions to the protocol independend part of theStefan Metzmacher1-42/+1
smb server metze (This used to be commit 79af05551fe5f7b364c9f515ba4db54dd72907f8)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher2-0/+4
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r15739: return False when the function is called with an invalid levelStefan Metzmacher1-1/+1
metze (This used to be commit fc20e4154a6a8d67d06f7abbd48059a4618fc21c)
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher6-100/+272
- 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-10r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different ↵Stefan Metzmacher1-1/+9
level metze (This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
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-10r15314: Fix recursive dependency hack for static libs. Should fix the buildJelmer Vernooij1-1/+1
on most systems. (This used to be commit c0ab0f4ed49d88807d07b1504574ca35542e2943)
2007-10-10r15313: Fix some dependencies in dso modeJelmer Vernooij1-1/+1
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
2007-10-10r15304: Fix smbd build, more updates on getting --enable-dso to build againJelmer Vernooij3-0/+3
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
2007-10-10r15301: Use static libraries internally. This required a few hacks in the buildJelmer Vernooij1-0/+1
system - these should be removed later on. (This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij1-1/+1
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r15191: Avoid uint_t as it's not standard.Jelmer Vernooij1-3/+3
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10r14937: fix a crash that can be caused by a notify triggering during a shareAndrew Tridgell1-0/+5
disconnect (This used to be commit 85d70f1c150b6c8370deeb188dbf9e87c8b8d7ac)
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-10r14739: keep the last request time for the smbsrv_connection,Stefan Metzmacher1-4/+7
smbsrv_session and smbsrv_tcon for management tools metze (This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)
2007-10-10r14733: SMBtdis needs a TCON and doesn't need a SESSION,Stefan Metzmacher1-1/+2
on an invalid tcon it gives NT_STATUS_DOS(ERRSRV, ERRinvnid) metze (This used to be commit fca74f2a4ba7d4a18801294a6b2be548864a5252)
2007-10-10r14647: be a bit less verbose on common stuffStefan Metzmacher1-1/+1
metze (This used to be commit 9f9240d118c66d89a8b51bc54be11828251d0872)
2007-10-10r14644: fix SMBecho, used by w2k clients, failing this,Stefan Metzmacher1-1/+1
causes an SMBulogoffX and SMBtdis jelmer: I think this should go into TP2 metze (This used to be commit 94d775c74d611e950bb5502bfe7f7c4015c6f772)
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-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14541: separate smbsrv_request and ntvfs_request,Stefan Metzmacher7-671/+377
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-10r14538: ok, I have better used make valgrindtest my self...Stefan Metzmacher1-1/+1
the 3 bytes for WordCount and ByteCount are included in MIN_SMB_SIZE... metze (This used to be commit 4ff3fb35e88643a4637bfca032a6505f9dce3843)
2007-10-10r14526: fix the size of the output buffer, we need 1 byte for the Word countStefan Metzmacher1-1/+1
now smbsrv_setup_reply() and req_setup_chain_reply() do the same thing tridge: can you please check if this is correct, I wonder why we don't got valgrind errors... as the over allocation is disabled currently metze (This used to be commit 3441a4a74fb324a4dfbca13219df4c55ebcfbf6c)
2007-10-10r14523: make async search request possibleStefan Metzmacher1-26/+60
metze (This used to be commit f130632dc58b7afc8270c1bc8a13e3451f8d9ec0)
2007-10-10r14504: make trans and trans2 able to use async ntvfs backendsStefan Metzmacher1-408/+534
tridge: can you review this please metze (This used to be commit f2e9b2c3a2304320ac090549815b174887b3e466)
2007-10-10r14502: Supply both needed arguments for the backend logoff processing.Andrew Bartlett1-0/+2
This should fix the segfaults on the build farm. Metze: please check Andrew Bartlett (This used to be commit fb927a71173eba2bd33bbb9ea589b63f5e33b3f2)
2007-10-10r14487: split smbsrv_request into two parts, one will be moved to ntvfs_requestStefan Metzmacher4-5/+34
but I don't to get the commit to large, to I'll do this tomorrow... metze (This used to be commit 10e627032d7d04f1ebf6efed248c426614f5aa6f)
2007-10-10r14485: mark smb commands as need session and need tcon explicit,Stefan Metzmacher3-122/+76
so we only need to check in one global place and can't forget in other places... metze (This used to be commit 742be8e075651c3b7e502ec6da01286fd7a2d4ca)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2-0/+2
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14456: don't access the smbsrv_tcon inside the ntvfs modulesStefan Metzmacher2-21/+33
metze (This used to be commit 5709c1c4e1a561dd9af98cfefbbbdac9b18765b7)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher3-53/+53
- 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/+5
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-2/+2
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 Metzmacher3-69/+69
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 Metzmacher3-8/+8
(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-10r14041: be a bit less verboseStefan Metzmacher1-1/+1
metze (This used to be commit 67a42a8097152c23fcd1adab68c64f127ac9c643)
2007-10-10r14016: use type safe talloc when constructing operation structures in smb ↵Andrew Tridgell1-38/+43
server (This used to be commit 78dd6b3e0cd4f048e9b0317107ceb59198fc2bee)
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-10r13960: Generate makefile rules for installing/removing shared modules.Jelmer Vernooij1-1/+1
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10r13911: Make these debug messages clearer.Andrew Bartlett1-3/+5
(This used to be commit 9c8350c64b68c81948e8e09be8316504368a4972)
2007-10-10r13877: remove smbsrv_send_dos_error() and use ↵Stefan Metzmacher5-29/+10
smbsrv_send_error(..,NT_STATUS_DOS()) metze (This used to be commit 60d7920527cd0e4142427fa59b9e617d99e3d984)