Stefan Metzmacher
97b4e6e220
s4:libcli/smb2: align struct smb_ioctl.smb2 to [MS-SMB2] names
...
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13863
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-03-28 23:09:36 +00:00
ouyang.xu
98ea4a2219
pvfs_open win10 fix, need return SMB2_CREATE_TAG_QFID
...
Signed-off-by: kkhaike <kkhaike@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Fri Aug 19 09:35:15 CEST 2016 on sn-devel-144
2016-08-19 09:35:14 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Steven Danneman
7f14388721
s4/libcli: rename previously reserved field in SMB2 LOCK struct
...
The lock.in.reserved field has been renamed lock_sequence in the
SMB 2.1 dialect. See MS-SMB 2.2.26.
2009-11-25 12:55:48 -08:00
Andrew Tridgell
7c807de6b8
s4-smbd: minimise includes in smbd/ and smb_server
2009-09-19 14:11:54 -07:00
Stefan Metzmacher
7b27b5f674
s4:smb2srv: remove the chained file handle on close
...
metze
2009-06-09 16:49:31 +02:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
922a29992e
Remove iconv_convenience parameter from simple string push/pull
...
functions.
2008-10-24 03:40:09 +02:00
Andrew Tridgell
a3536c4c06
check for a 0 byte in the buffer in SMB2 read
2008-09-24 18:10:23 -07:00
Andrew Tridgell
c86dc11be6
added support for returning the maximal access MXAC tag in SMB2 create
...
(This used to be commit 4eb49335d5
)
2008-05-29 19:16:26 +10:00
Andrew Tridgell
6b70726305
implement the documented SMB2 create blobs in the server
...
Not all of them are honoured yet, but they are all parsed and the ones
that have SMB equivalents are honoured
(This used to be commit 9fc70e2ed6
)
2008-05-28 16:28:37 +10:00
Andrew Tridgell
aed93a238e
fixed SMB2 flush call, and added flush to gentest_smb2
...
(This used to be commit c52fe1fe1c
)
2008-05-21 22:51:21 +10:00
Andrew Tridgell
4d39976ddd
fixed SMB2 locking
...
- SMB2 locking is different in several ways from SMB locking. To fix
it properly we will need a new generic mapping structure for
locking, but for now do a best effort mapping
- added locking to gentest_smb2
(This used to be commit ea6d9cf602
)
2008-05-21 22:12:20 +10:00
Stefan Metzmacher
8b5f03a225
smb_server/smb2: handle incoming oplock releases
...
metze
(This used to be commit 2306394dcc
)
2008-04-19 01:54:45 +02:00
Stefan Metzmacher
79b2980cf5
smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
...
metze
(This used to be commit fbfbd74e65
)
2008-04-17 02:39:29 +02:00
Andrew Tridgell
275f32ae2d
fill in unknown fields in SMB2 READ call
...
(This used to be commit 9b686c1380
)
2008-04-14 11:31:17 +02:00
Andrew Tridgell
5fb241e5d3
3 places where the VFS backend doesn't handle NULL strings.
...
(This used to be commit cf109460af
)
2008-02-18 14:54:14 +11:00
Andrew Tridgell
88d2e05227
updated SMB2 create operation to match WSPP.
...
Adding some defined for various new create options
(This used to be commit d037dc23ce
)
2008-02-13 15:05:44 +11:00
Jelmer Vernooij
df408d056e
r26672: Janitorial: Remove uses of global_loadparm.
...
(This used to be commit 18cd08623e
)
2008-01-05 13:06:03 -06:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7ab
)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b
)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
0c56f8dac3
r25551: Convert to standard bool type.
...
(This used to be commit c9651e2c5c
)
2007-10-10 15:07:54 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
bf62b6642c
r22866: handle incoming chained smb2 requests in our server code to let
...
the windows explorer in longhorn beta3 work.
metze
(This used to be commit 2390c9f24d
)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
4eb1c753ab
r22843: pass smb2 lock requests to the ntvfs layer
...
metze
(This used to be commit 7fa00381ef
)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
8075ce63fd
r17084: implement SMB2 Cancel in the server,
...
that makes it possible for clients to cancel
async requests, like NOTIFY...
metze
(This used to be commit eaccd3c435
)
2007-10-10 14:10:12 -05:00
Stefan Metzmacher
b73a3ad21b
r16989: implement SMB2 Notify in the frontend
...
metze
(This used to be commit 156bd4620c
)
2007-10-10 14:10:07 -05:00
Stefan Metzmacher
5468516f9a
r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
...
the operation doesn't need a valid file handle in that case
metze
(This used to be commit d41a83d559
)
2007-10-10 14:10:00 -05:00
Stefan Metzmacher
eb75ecbccf
r16889: implement SMB2 Ioctl in the frontend
...
metze
(This used to be commit 90b0ae53e4
)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
a3797ff66a
r16875: implement SMB2 Find in the frontend
...
metze
(This used to be commit 58bed7322c
)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
cf901ad491
r16869: - if we know the blob length, we can preallocated the memory
...
and avoid a realloc in smb2_push_*
- don't overwrite the first data byte
metze
(This used to be commit 7761a2a595
)
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
21af3847a6
r16740: just say the directory is empty
...
metze
(This used to be commit 6326bb901f
)
2007-10-10 14:09:43 -05:00
Stefan Metzmacher
2f60a2bc7a
r16731: send a better error code, required for vista-beta2 client
...
metze
(This used to be commit a251e72206
)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
d63dd113ae
r16699: the layout of SMB2 Read and Write is identical...
...
so we know that the 9th bytes is just uninitialized padding
metze
(This used to be commit f97a21b970
)
2007-10-10 14:09:39 -05:00
Stefan Metzmacher
74fe06832a
r16520: move smb2srv_break_recv back to fileio.c
...
metze
(This used to be commit cdee9b2168
)
2007-10-10 14:09:31 -05:00
Stefan Metzmacher
1fd1e2ba58
r16407: add parsing code the SMB2 GetInfo in the server
...
metze
(This used to be commit c4755c83c6
)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
6ba94bb12f
r15771: this should be a o32s32 blob
...
metze
(This used to be commit fdfa6dcc97
)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
e23cc70a72
r15760: - add RAW_READ_SMB2 => generic mapping
...
- Implement SMB2 Read
metze
(This used to be commit d0ac0c5af4
)
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
49012954d0
r15758: - handle RAW_FLUSH_SMB2 in the posix ntvfs backend
...
- Implement SMB2 Flush
metze
(This used to be commit 41d87ebe35
)
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
772c492840
r15757: - add RAW_WRITE_SMB2 => generic mapping
...
- implement SMB2 Write
metze
(This used to be commit 5ab6f304f8
)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
183fb2bd4b
r15754: - implement SMB2 Close
...
- add RAW_CLOSE_SMB2 generic mapping
metze
(This used to be commit 41bc3cfc82
)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
c2c5f78f11
r15753: implement SMB2 Create
...
metze
(This used to be commit 65b67a8af6
)
2007-10-10 14:08:14 -05:00
Jelmer Vernooij
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318
)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
2634f22bfc
r12092: - add dummy functions for the missing SMB2 opcodes
...
- implement keepalive and logoff
metze
(This used to be commit 859ab627f4
)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
910d61bcd1
r11789: - add the start of a SMB2 server
...
- it does Negprot and SessionSetup yet
the rest returns NT_STATUS_NOT_IMPLEMENTED
- it's off by default, enable with:
smbsrv:enable smb2 = yes
- negotition in the SMB Negprot isn't supported yet
- it's only tested with smbtorture SMB2-CONNECT
not with vista as client
metze
(This used to be commit 08b31d5f61
)
2007-10-10 13:46:28 -05:00