Andrew Tridgell
b3e2d49087
r20650: revert a bunch of code I didn't mean to commit yet
2007-10-10 14:37:26 -05:00
Andrew Tridgell
5870830b99
r20647: add cluster code
2007-10-10 14:37:24 -05:00
Andrew Tridgell
e5dbbe177c
r20077: support large readx replies, as done by samba3 (and the snia spec),
...
but not done by windows servers
2007-10-10 14:29:01 -05:00
Andrew Tridgell
1e34e4d5a1
r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.
2007-10-10 14:19:16 -05:00
Andrew Tridgell
eba6c84eff
r18301: I discovered how to load the warnings from a build farm build into
...
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Andrew Tridgell
fe209e360e
r18211: wct is not a size, so don't use size_t
...
this should fix a pile of printf format warnings
2007-10-10 14:17:50 -05:00
Jelmer Vernooij
f7afa1cb77
r17930: Merge noinclude branch:
...
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
49b96ac44a
r17020: pass the real error to the failing requests
...
metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
de50e0ccdd
r16980: - make struct smb_notify a union and add levels RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2
...
- parse SMB2 Notify reponse
metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
d41a83d559
r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
...
the operation doesn't need a valid file handle in that case
metze
2007-10-10 14:10:00 -05:00
Stefan Metzmacher
58bed7322c
r16875: implement SMB2 Find in the frontend
...
metze
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
283bec8295
r16871: zero padding bytes
...
(found by valgrind)
metze
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
78c201db8a
r16834: split the level's of smb_search_first/smb_search_next and the levels
...
of smb_search_data
metze
2007-10-10 14:09:49 -05:00
Stefan Metzmacher
b3bdd4afde
r16708: the packet format of SMB2 SessionSetup has changed,
...
there're 8 more unknown bytes...
Note:
- vista-CTP also support this as a server,
but uses the old format as client
- but vista-beta2 only uses and accept the new format
metze
2007-10-10 14:09:40 -05:00
Stefan Metzmacher
f97a21b970
r16699: the layout of SMB2 Read and Write is identical...
...
so we know that the 9th bytes is just uninitialized padding
metze
2007-10-10 14:09:39 -05:00
Stefan Metzmacher
79e51f033e
r16667: - use ndr_pull_struct_blob() to make the RAW_FILEINFO_SEC_DESC pull code
...
simpler
- use ndr_push_struct_blob() for RAW_SFILEINFO_SEC_DESC
metze
2007-10-10 14:09:37 -05:00
Volker Lendecke
b76a3d4f59
r16091: Without this patch Samba3 will not accept this, and simply setting the "92" to
...
"100" will give funny permissions...
Volker
2007-10-10 14:08:59 -05:00
Andrew Tridgell
61c6100617
r15854: more talloc_set_destructor() typesafe fixes
2007-10-10 14:08:32 -05:00
Andrew Tridgell
7ea51fb624
r15835: fixed locking in the client library
2007-10-10 14:08:31 -05:00
Stefan Metzmacher
8f1850ef65
r15814: add SMB2 Lock interface structure
...
metze
2007-10-10 14:08:27 -05:00
Stefan Metzmacher
8aebd7adc9
r15756: handle RAW_OPEN_SMB2
...
metze
2007-10-10 14:08:14 -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
b9ba2b8c5a
r15740: add TODO, that we should check if the server supports
...
large offsets, before sending large offset requests
metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
1f50b2e053
r15737: fix a typos and comment
...
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
0d983fa46f
r15688: windows sends 4 as max_setup count on NT IOCTL
...
metze
2007-10-10 14:08:06 -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
47dc1ed253
r15643: add some FSCTL_ codes
...
metze
2007-10-10 14:07:26 -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
Stefan Metzmacher
d0a7408280
r15638: add a usefull macro to get a pointer the smb_handle union
...
of smb_open, as it's not nicely alligned for all levels,
If someone has an idea for a better solution where we can access
it via op->generic.out.file.* please let me know:-)
metze
2007-10-10 14:07:25 -05:00
Stefan Metzmacher
8322fc70ad
r15505: - add 'generic' alias to smb_seek and smb_flush
...
- add struct ntvfs_handle pointer to smb_file, this will
later be used by the ntvfs backends
metze
2007-10-10 14:05:43 -05:00
Jelmer Vernooij
0fafa2e595
r15379: Fix shared library build's unresolved dependencies
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
8985093d3f
r15338: Fix build of most things with shared libs enabled.
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
7af59357b9
r15191: Avoid uint_t as it's not standard.
2007-10-10 14:04:15 -05:00
Stefan Metzmacher
f30f9cd328
r15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
...
"readx.read_for_execute = True" case.
metze
2007-10-10 14:04:10 -05:00
Andrew Tridgell
2031e07a8a
r14974: work around an ibm checker bug
2007-10-10 14:00:49 -05:00
Andrew Tridgell
c2cde823ee
r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker)
2007-10-10 14:00:48 -05:00
Stefan Metzmacher
afa8f944a7
r14859: fix bugs noticed by the ibm code checker
...
metze
2007-10-10 13:59:43 -05:00
Jelmer Vernooij
51b4270513
r14542: Remove librpc, libndr and libnbt from includes.h
2007-10-10 13:58:42 -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
Jelmer Vernooij
e1f896948f
r14511: Install more headers
2007-10-10 13:57:35 -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
Andrew Tridgell
c43a7ec7ac
r14413: don't do memcpy of length 0
2007-10-10 13:57:20 -05:00
Stefan Metzmacher
da1ac9b224
r14372: fix bug found by sparse
...
metze
2007-10-10 13:57:15 -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
29240bae44
r14174: fix typos
...
metze
2007-10-10 13:56:58 -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
bce4db8d1c
r14160: don't write behind the buffer
...
metze
2007-10-10 13:56:56 -05:00