Stefan Metzmacher
708a5d3bf0
r16403: remove dependency to smbsrv_request next part...
...
metze
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
e4a5e2db7f
r16402: start to remove the dependecy to smbsrv_request from the parsing functions
...
metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
c868b8b7d7
r16401: keep the old pointer when realloc fails, this is needed for the
...
search callback
metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
779c51ad52
r16400: add more error checks
...
metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
2aaca1631f
r16399: - split out pushing smb_fsinfo into a DATA_BLOB
...
- add error checks
metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
d021a8b3ee
r16357: - start get rid of void parsing functions
...
- there will more changes come but I want to do them in
relative small chunks
metze
2007-10-10 14:09:12 -05:00
Andrew Tridgell
801357af2e
r15827: fixed a spelling error
2007-10-10 14:08:29 -05:00
Stefan Metzmacher
9c4c40772b
r15769: this functions belong to params/ so move it.
...
metze
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
6c304a1a5f
r15751: thanks to talloc_get_type() I noticed that I used smbsrv_request in the smb2srv code
...
metze
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
79af05551f
r15747: move some functions to the protocol independend part of the
...
smb server
metze
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
9180635317
r15741: move smb2 request structures into the main smb request structs
...
as new levels
metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
fc20e4154a
r15739: return False when the function is called with an invalid level
...
metze
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
287fc1c22d
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
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
95bf41b4d4
r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
...
metze
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
0ac9a49f42
r15714: fix async handling of ntioctl calls and push the DATA_BLOB into the reply
...
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
a870c084f6
r15711: - make use of nttrans_setup_reply()
...
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
6a0c24c73e
r15710: - we no longer need to set the nttrans out fields to zero
...
in the backends
- some whitespace cleanups
metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
b21d98a875
r15709: - return an error is better than ignoring a non supported request
...
- zero nttrans output fields before calling the backends
metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
6bc89b422c
r15708: setup count is 8bit and param_count and data_count are 32bit
...
metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
3cab02f6f5
r15656: for NT IOCTL's we need to control the max_data field for some calls
...
metze
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
358d03143f
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
2007-10-10 14:07:25 -05:00
Jelmer Vernooij
c0ab0f4ed4
r15314: Fix recursive dependency hack for static libs. Should fix the build
...
on most systems.
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
f0afe9e2ff
r15313: Fix some dependencies in dso mode
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
3ef9326386
r15304: Fix smbd build, more updates on getting --enable-dso to build again
2007-10-10 14:05:08 -05:00
Jelmer Vernooij
0654739166
r15301: Use static libraries internally. This required a few hacks in the build
...
system - these should be removed later on.
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
adc8a019b6
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
7af59357b9
r15191: Avoid uint_t as it's not standard.
2007-10-10 14:04:15 -05:00
Andrew Tridgell
85d70f1c15
r14937: fix a crash that can be caused by a notify triggering during a share
...
disconnect
2007-10-10 14:00:19 -05:00
Andrew Tridgell
fb91a37e92
r14807: fixed the format of notify responses (forgot to commit this earlier)
2007-10-10 13:59:22 -05:00
Stefan Metzmacher
2c87f210e9
r14739: keep the last request time for the smbsrv_connection,
...
smbsrv_session and smbsrv_tcon for management tools
metze
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
fca74f2a4b
r14733: SMBtdis needs a TCON and doesn't need a SESSION,
...
on an invalid tcon it gives NT_STATUS_DOS(ERRSRV, ERRinvnid)
metze
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
9f9240d118
r14647: be a bit less verbose on common stuff
...
metze
2007-10-10 13:59:04 -05:00
Stefan Metzmacher
94d775c74d
r14644: fix SMBecho, used by w2k clients, failing this,
...
causes an SMBulogoffX and SMBtdis
jelmer: I think this should go into TP2
metze
2007-10-10 13:59:04 -05:00
Stefan Metzmacher
b5edcde793
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
2007-10-10 13:59:03 -05:00
Jelmer Vernooij
51b4270513
r14542: Remove librpc, libndr and libnbt from includes.h
2007-10-10 13:58:42 -05:00
Stefan Metzmacher
7253153691
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
2007-10-10 13:58:41 -05:00
Andrew Tridgell
1e1c559381
r14539: get rid of a pointless union layer in struct smb_notify
2007-10-10 13:58:41 -05:00
Stefan Metzmacher
4ff3fb35e8
r14538: ok, I have better used make valgrindtest my self...
...
the 3 bytes for WordCount and ByteCount are included in MIN_SMB_SIZE...
metze
2007-10-10 13:58:41 -05:00
Stefan Metzmacher
3441a4a74f
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
2007-10-10 13:57:37 -05:00
Stefan Metzmacher
f130632dc5
r14523: make async search request possible
...
metze
2007-10-10 13:57:36 -05:00
Stefan Metzmacher
f2e9b2c3a2
r14504: make trans and trans2 able to use async ntvfs backends
...
tridge: can you review this please
metze
2007-10-10 13:57:35 -05:00
Andrew Bartlett
fb927a7117
r14502: Supply both needed arguments for the backend logoff processing.
...
This should fix the segfaults on the build farm.
Metze: please check
Andrew Bartlett
2007-10-10 13:57:35 -05:00
Stefan Metzmacher
10e627032d
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
2007-10-10 13:57:32 -05:00
Stefan Metzmacher
742be8e075
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
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
3dd477ca51
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
5709c1c4e1
r14456: don't access the smbsrv_tcon inside the ntvfs modules
...
metze
2007-10-10 13:57:26 -05:00
Stefan Metzmacher
be6d5298a2
r14256: - rename smb_file -> smb_handle
...
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
2007-10-10 13:57:06 -05:00
Andrew Tridgell
b78abbbce6
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.
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
180a79d103
r14205: move smb specific stuff out of includes.h (finally!!!:-)
...
all this changes really help ccache to speed up the samba4 build:-)
metze
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
2ef3f59709
r14173: change smb interface structures to always use
...
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
2007-10-10 13:56:57 -05:00