1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00
Commit Graph

30 Commits

Author SHA1 Message Date
Stefan Metzmacher
6cd64cb78f r16621: split out passthru levels of setfileinfo
metze
2007-10-10 14:09:36 -05:00
Stefan Metzmacher
77a711c54a r16449: move some code to a generic place
metze
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
d6d86c65bf r16448: add more error checks
metze
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
e7d339d496 r16444: - split out qfsinfo passthru levels
- use 1 to 1 mapping of interface and wire levels

metze
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
142680ab9b r16443: add push code for SMB2 levels
metze
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
42324c1f63 r16440: split out passthru level into a new functions,
so they can we reused for smb2 later

metze
2007-10-10 14:09:14 -05:00
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
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
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
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
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
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
Stefan Metzmacher
ed9ed1f48f r14157: - pass a struct ntvfs_request to the ntvfs layer
(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
2007-10-10 13:56:55 -05:00
Stefan Metzmacher
60d7920527 r13877: remove smbsrv_send_dos_error() and use smbsrv_send_error(..,NT_STATUS_DOS())
metze
2007-10-10 13:52:19 -05:00
Stefan Metzmacher
e6275db7b9 r13870: prefix more functions with smbsrv_
metze
2007-10-10 13:52:19 -05:00
Stefan Metzmacher
2af9663275 r13865: prefix functions with smbsrv_
metze
2007-10-10 13:52:18 -05:00
Stefan Metzmacher
ab659d8ee0 r13863: this can be static...
metze
2007-10-10 13:52:18 -05:00
Jelmer Vernooij
0aca5fd513 r12542: Move some more prototypes out to seperate headers 2007-10-10 13:47:55 -05:00
Jelmer Vernooij
87f665a1d5 r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server. 2007-10-10 13:47:51 -05:00
Stefan Metzmacher
436c5127ef r12091: the SMB2 specific level are not available via SMB
(get rid of the compiler warnings)

metze
2007-10-10 13:47:08 -05:00
Andrew Tridgell
5c81986bff r12082: fixed a valgrind error found by kukks in the transs server handling 2007-10-10 13:47:06 -05:00
Stefan Metzmacher
5fea278cb6 r11786: move all SMB protocol specific stuff to smb_server/smb/
metze
2007-10-10 13:46:27 -05:00