Stefan Metzmacher
1ff99ba12d
r16440: split out passthru level into a new functions,
...
so they can we reused for smb2 later
metze
(This used to be commit 42324c1f63e2f16b27c43bf17b434c644244b931)
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
818c52a6b4
r16403: remove dependency to smbsrv_request next part...
...
metze
(This used to be commit 708a5d3bf08f62ba99740c3007a8882e22a01bc9)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
45c99a270e
r16402: start to remove the dependecy to smbsrv_request from the parsing functions
...
metze
(This used to be commit e4a5e2db7f3333e7cb15bdd6eeb5b08a6f1d912f)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
7c01df4e77
r16401: keep the old pointer when realloc fails, this is needed for the
...
search callback
metze
(This used to be commit c868b8b7d7ee0424ed955f699543593aaa633e92)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
898f6f768f
r16400: add more error checks
...
metze
(This used to be commit 779c51ad52bd54c10e208b108cb34500e542097f)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
59670b2f97
r16399: - split out pushing smb_fsinfo into a DATA_BLOB
...
- add error checks
metze
(This used to be commit 2aaca1631f4e9f312a8de506b21290b9452c2a43)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
f03e039e88
r16357: - start get rid of void parsing functions
...
- there will more changes come but I want to do them in
relative small chunks
metze
(This used to be commit d021a8b3ee986194fbfddfc096edb715b01dafe5)
2007-10-10 14:09:12 -05:00
Andrew Tridgell
03e7d37461
r15827: fixed a spelling error
...
(This used to be commit 801357af2ef80fe270750c084a78142711ae9e6c)
2007-10-10 14:08:29 -05:00
Stefan Metzmacher
e0dcbe8dd1
r15769: this functions belong to params/ so move it.
...
metze
(This used to be commit 9c4c40772bfd8a8324cd086c2234451d164be5d0)
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
3cb64219e2
r15751: thanks to talloc_get_type() I noticed that I used smbsrv_request in the smb2srv code
...
metze
(This used to be commit 6c304a1a5f5dc6b2d3774682303874444a59b07d)
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
7930ae6a70
r15747: move some functions to the protocol independend part of the
...
smb server
metze
(This used to be commit 79af05551fe5f7b364c9f515ba4db54dd72907f8)
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
e306c5bf12
r15741: move smb2 request structures into the main smb request structs
...
as new levels
metze
(This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
add9d49dbb
r15739: return False when the function is called with an invalid level
...
metze
(This used to be commit fc20e4154a6a8d67d06f7abbd48059a4618fc21c)
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
9ef33f5f5c
r15734: This is a major change to the NTVFS subsystem:
...
- 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-10 14:08:10 -05:00
Stefan Metzmacher
7f0e17e903
r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
...
metze
(This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
82fd602cf0
r15714: fix async handling of ntioctl calls and push the DATA_BLOB into the reply
...
metze
(This used to be commit 0ac9a49f42719914e63758ea4e53cab65dcdd317)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
5445415b82
r15711: - make use of nttrans_setup_reply()
...
metze
(This used to be commit a870c084f6a97fc4f165510e9d447d97f0ee328f)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
2adbcc3965
r15710: - we no longer need to set the nttrans out fields to zero
...
in the backends
- some whitespace cleanups
metze
(This used to be commit 6a0c24c73e1060824576d60459d4636848f2173a)
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
0fc977c54d
r15709: - return an error is better than ignoring a non supported request
...
- zero nttrans output fields before calling the backends
metze
(This used to be commit b21d98a87590b00c63ccc47b71518f1714ecb29d)
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
a3cc3c9c1f
r15708: setup count is 8bit and param_count and data_count are 32bit
...
metze
(This used to be commit 6bc89b422ccdfca6d383b8474452d57b55dfaed6)
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
5ff4b74df3
r15656: for NT IOCTL's we need to control the max_data field for some calls
...
metze
(This used to be commit 3cab02f6f513cf7eb3d8863e62952766bb4d908f)
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
410fb90322
r15640: - NT IOCTL calls also have an 'in' data_blob
...
- 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-10 14:07:25 -05:00
Jelmer Vernooij
0199eac20d
r15314: Fix recursive dependency hack for static libs. Should fix the build
...
on most systems.
(This used to be commit c0ab0f4ed49d88807d07b1504574ca35542e2943)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
9220144604
r15313: Fix some dependencies in dso mode
...
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
bc141c7957
r15304: Fix smbd build, more updates on getting --enable-dso to build again
...
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
2007-10-10 14:05:08 -05:00
Jelmer Vernooij
b00c236906
r15301: Use static libraries internally. This required a few hacks in the build
...
system - these should be removed later on.
(This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
69b51f702a
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
0eddf14b30
r15191: Avoid uint_t as it's not standard.
...
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10 14:04:15 -05:00
Andrew Tridgell
09a6f728a3
r14937: fix a crash that can be caused by a notify triggering during a share
...
disconnect
(This used to be commit 85d70f1c150b6c8370deeb188dbf9e87c8b8d7ac)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
11963877ab
r14807: fixed the format of notify responses (forgot to commit this earlier)
...
(This used to be commit fb91a37e926963acfc90fe276a33c7a329a023e8)
2007-10-10 13:59:22 -05:00
Stefan Metzmacher
316269a075
r14739: keep the last request time for the smbsrv_connection,
...
smbsrv_session and smbsrv_tcon for management tools
metze
(This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
b983fd949b
r14733: SMBtdis needs a TCON and doesn't need a SESSION,
...
on an invalid tcon it gives NT_STATUS_DOS(ERRSRV, ERRinvnid)
metze
(This used to be commit fca74f2a4ba7d4a18801294a6b2be548864a5252)
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
1f2d8319bd
r14647: be a bit less verbose on common stuff
...
metze
(This used to be commit 9f9240d118c66d89a8b51bc54be11828251d0872)
2007-10-10 13:59:04 -05:00
Stefan Metzmacher
d72632ba08
r14644: fix SMBecho, used by w2k clients, failing this,
...
causes an SMBulogoffX and SMBtdis
jelmer: I think this should go into TP2
metze
(This used to be commit 94d775c74d611e950bb5502bfe7f7c4015c6f772)
2007-10-10 13:59:04 -05:00
Stefan Metzmacher
8ae3773bc4
r14638: we need to call smbsrv_setup_reply() before using smbsrv_setup_error()
...
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-10 13:59:03 -05:00
Jelmer Vernooij
35349a58df
r14542: Remove librpc, libndr and libnbt from includes.h
...
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10 13:58:42 -05:00
Stefan Metzmacher
61fa658ebc
r14541: separate smbsrv_request and ntvfs_request,
...
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-10 13:58:41 -05:00
Andrew Tridgell
9225c02aee
r14539: get rid of a pointless union layer in struct smb_notify
...
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10 13:58:41 -05:00
Stefan Metzmacher
027208806f
r14538: ok, I have better used make valgrindtest my self...
...
the 3 bytes for WordCount and ByteCount are included in MIN_SMB_SIZE...
metze
(This used to be commit 4ff3fb35e88643a4637bfca032a6505f9dce3843)
2007-10-10 13:58:41 -05:00
Stefan Metzmacher
8437d5b891
r14526: fix the size of the output buffer, we need 1 byte for the Word count
...
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-10 13:57:37 -05:00
Stefan Metzmacher
d7254a3615
r14523: make async search request possible
...
metze
(This used to be commit f130632dc58b7afc8270c1bc8a13e3451f8d9ec0)
2007-10-10 13:57:36 -05:00
Stefan Metzmacher
66b2ed2866
r14504: make trans and trans2 able to use async ntvfs backends
...
tridge: can you review this please
metze
(This used to be commit f2e9b2c3a2304320ac090549815b174887b3e466)
2007-10-10 13:57:35 -05:00
Andrew Bartlett
bae6672ea9
r14502: Supply both needed arguments for the backend logoff processing.
...
This should fix the segfaults on the build farm.
Metze: please check
Andrew Bartlett
(This used to be commit fb927a71173eba2bd33bbb9ea589b63f5e33b3f2)
2007-10-10 13:57:35 -05:00
Stefan Metzmacher
d3087451c4
r14487: split smbsrv_request into two parts, one will be moved to ntvfs_request
...
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-10 13:57:32 -05:00
Stefan Metzmacher
3948fcac49
r14485: mark smb commands as need session and need tcon explicit,
...
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-10 13:57:31 -05:00
Jelmer Vernooij
8528016978
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
2e7df84576
r14456: don't access the smbsrv_tcon inside the ntvfs modules
...
metze
(This used to be commit 5709c1c4e1a561dd9af98cfefbbbdac9b18765b7)
2007-10-10 13:57:26 -05:00
Stefan Metzmacher
a1b295ed48
r14256: - rename smb_file -> smb_handle
...
- 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-10 13:57:06 -05:00
Andrew Tridgell
7f0c7702f6
r14208: removed use of req->flags2 inside the ntvfs layer. This should help
...
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-10 13:57:03 -05:00
Stefan Metzmacher
32b0bb64bc
r14205: move smb specific stuff out of includes.h (finally!!!:-)
...
all this changes really help ccache to speed up the samba4 build:-)
metze
(This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)
2007-10-10 13:57:03 -05:00