summaryrefslogtreecommitdiff
path: root/source4/smb_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher10-105/+522
- 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-10r15715: add my copyrightStefan Metzmacher1-1/+2
metze (This used to be commit a3799771c830a6ae952b0d9b45b8a01f7a6bf9c6)
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-10r15535: fix the buildStefan Metzmacher1-0/+1
metze (This used to be commit 297868325f305c652b14023a698099d5b358d70a)
2007-10-10r15533: with this vista does a fine SMB2 TreeConnect against samba4Stefan Metzmacher1-4/+4
metze (This used to be commit 6c920d21a16e88040818cc8db6ebe918b5669a9b)
2007-10-10r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0Stefan Metzmacher5-8/+17
also if the dynamic flag should be set metze (This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
2007-10-10r15371: Revert some of my previous patch as it was breaking the plain buildJelmer Vernooij1-2/+1
(This used to be commit fac9871122bcea2bb282ba77e5032094733442e5)
2007-10-10r15370: Fix more dependencies for shared libsJelmer Vernooij1-1/+2
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)
2007-10-10r15314: Fix recursive dependency hack for static libs. Should fix the buildJelmer Vernooij2-2/+2
on most systems. (This used to be commit c0ab0f4ed49d88807d07b1504574ca35542e2943)
2007-10-10r15313: Fix some dependencies in dso modeJelmer Vernooij2-2/+2
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
2007-10-10r15304: Fix smbd build, more updates on getting --enable-dso to build againJelmer Vernooij10-4/+17
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
2007-10-10r15301: Use static libraries internally. This required a few hacks in the buildJelmer Vernooij3-1/+5
system - these should be removed later on. (This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij3-3/+3
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r15191: Avoid uint_t as it's not standard.Jelmer Vernooij2-4/+4
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10r14997: Fix build of static libraries. Libraries build fine now, but linking ↵Jelmer Vernooij1-1/+1
doesn't work yet. (This used to be commit d3106699dba7a4344511134dd2cf1bfa2f4bc7ab)
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 Metzmacher7-13/+44
smbsrv_session and smbsrv_tcon for management tools metze (This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)
2007-10-10r14736: - the ntvfs subsystem should not know about smb_server.hStefan Metzmacher1-1/+2
- the process module subsystem should not know about smb_server.h - the smb_server module should not know about process models metze (This used to be commit bac95bb8f4ad35a31ee666f5916ff9b2f292d964)
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 Metzmacher8-697/+461
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-10r14511: Install more headersJelmer Vernooij1-1/+1
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
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 Metzmacher5-12/+59
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 Metzmacher6-41/+56
metze (This used to be commit 5709c1c4e1a561dd9af98cfefbbbdac9b18765b7)
2007-10-10r14447: remove unused stuffStefan Metzmacher1-2/+0
metze (This used to be commit 4df843658f0cc22af44946fa2d965816ff53df6d)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij1-0/+2
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
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 Metzmacher5-10/+10
(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)