Age | Commit message (Collapse) | Author | Files | Lines |
|
This changes commit 260bc987b00b3fff6c9b99211627b14e9bd0789a to comply
with metze's plans.
|
|
Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests.
Reviewed-by: Tridge
|
|
Re-using two of the create_options bits was bound to eventually
cause problems, and indeed, Windows7 now uses one of those bits
when opening text files.
Fixes bug 7189
|
|
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
win7 also fails invalid lock ranges on SMB
|
|
|
|
UNLOCK with FAIL_IMMEDIATELY is not allowed
|
|
metze
|
|
In order to implement root_fid in the s4 SMB server we need to declare
it as a handle type, just as for other fnum values in SMB. This
required some extensive (but simple) changes in many bits of code.
|
|
ntvfs_map_fsinfo, ntvfs_map_qpathinfo, ntvfs_map_qfileinfo used an
old synchronous mapping technique, acceptable on the grounds that
they were only used by the simple vfs which was synchronous.
Other vfs may/do use these functions, and by upgrading them to use the
ntvfs_map_async_setup/ntvfs_map_async_finish framework, they can now be
used asynchronously.
Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
metze
|
|
This is the samba4 version of commit
9391dad85d08bb0939f4db1472c6cf063ebea892
metze
|
|
|
|
metze
(This used to be commit cbd585d2a1e179615eba773cb07385524369c686)
|
|
(This used to be commit 63f315572969e7fc52bdc7c0b38eaaee736d5e2a)
|
|
The UNLOCK bit is only used from the first lock structure
(This used to be commit 9483b7c137b61d3029a1e1e7d8d8d0723b541129)
|
|
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
|
|
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 9fc70e2ed6a54f6d9a0530f4d37c0f8acadb6778)
|
|
(This used to be commit 318038d6f670efffa96d8b0db63f46b3752e1cd3)
|
|
(This used to be commit 3bec932a89006521ba74bde7943b8cd5b4a660d8)
|
|
(This used to be commit 2633bc749792c224acc73a2e4ca723404331c19c)
|
|
(This used to be commit d1bde5830cd56042236d72598e5cfe9c7abc4c47)
|
|
(This used to be commit 73dbfb9b4148dbfdc30518c08db4658d189f4160)
|
|
(This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
|
|
(This used to be commit 1590494daf5abe43e43402e7602f92267bcda34b)
|
|
- 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 ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
|
|
metze
(This used to be commit b781bb733c9a563457f87c94abe8c91b426c07ee)
|
|
metze
(This used to be commit 60c4a4fc1afe88716ac63d3ea430e07fea7b9991)
|
|
metze
(This used to be commit 9013748273378f88bfc66d3583814f0fee67c40f)
|
|
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
|
|
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
|
|
(This used to be commit df82b0aa6990b59cde20893cb690a8a260526178)
|
|
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
|
|
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
|
|
metze
(This used to be commit 8329fa689521b12e4ce2ac094b3e322fa4ed4bb8)
|
|
metze
(This used to be commit fbbb144f8e5271a543c0b47b0105eccd357477ba)
|
|
(This used to be commit 1e34e4d5a1fd3d74080424140e4ab276b6042d12)
|
|
metze
(This used to be commit 7daf432d58ecebd10a28acd3ddbded9cb16536d0)
|
|
(found by valgrind)
metze
(This used to be commit 1bb60b5be48fab7d84594283f58d2bc04c474b0c)
|
|
metze
(This used to be commit 9c3992a27948f01803650c446914aa24be2a8d7a)
|
|
so we know that the 9th bytes is just uninitialized padding
metze
(This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
|
|
metze
(This used to be commit 8f1850ef65dc8c860912639d787d82399d015f13)
|
|
- Implement SMB2 Read
metze
(This used to be commit d0ac0c5af44ba5aa8b18106c2ac26c0d194e59b4)
|
|
- implement SMB2 Write
metze
(This used to be commit 5ab6f304f8b91c0362fd57429cc24126b241bd51)
|
|
- add RAW_CLOSE_SMB2 generic mapping
metze
(This used to be commit 41bc3cfc822bfc2fe4413f93a180fc4507005282)
|
|
metze
(This used to be commit d26144f9575f1e53bfb837024d964a3324d38728)
|
|
metze
(This used to be commit 0e23d2a45a4507051bb3453387b82e7a9f4433ea)
|
|
- 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)
|
|
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
|