Age | Commit message (Collapse) | Author | Files | Lines |
|
requests on the smbsrv_connection, to be able to match then on
ntcancel
metze
(This used to be commit 04f0d3d03179b6060fd013b867d13caa92ec6460)
|
|
the operation doesn't need a valid file handle in that case
metze
(This used to be commit d41a83d55945b07020349339888f3a34ac4eff4e)
|
|
metze
(This used to be commit ae9c007324b04a81fd367e4e72f50275df137d46)
|
|
This caused vista beta2 to not do any rpc calls
against samba4
metze
(This used to be commit b42d918d56387a4d5dd27cc4dfc187990195d9c3)
|
|
metze
(This used to be commit 7db393e5ea15dd363f83dcf5eb299f2806971f97)
|
|
(a handle with all bits set to 1 is justed for some
SMB2 Ioctl calls...)
- don't crash if we didn't find the tcon
metze
(This used to be commit 27087818c7e8cbaadbcd640fe3b0ffc1c3455b04)
|
|
metze
(This used to be commit 90b0ae53e40a220249b55035411e6b60ee04de7c)
|
|
metze
(This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)
|
|
and avoid a realloc
metze
(This used to be commit 51d59d23a1179689bda7cd1ab8cc43de31ad4f24)
|
|
so that smb2srv_setup_reply() doesn't push uninitialized data
(found by valgrind)
metze
(This used to be commit 1a1fd2747d12663ff1084a3bc85e85c74188edb7)
|
|
and avoid a realloc in smb2_push_*
- don't overwrite the first data byte
metze
(This used to be commit 7761a2a595720e30f2a38448761ca77077908be7)
|
|
metze
(This used to be commit 6326bb901fa2daa358f865f77c110096a1764126)
|
|
metze
(This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
|
|
is no padding...
the following patch is needed for vista beta2 to connect to samba4
metze
(This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
|
|
metze
(This used to be commit 9b6f74778f8db2fa18bb56dcbc6bd8168a882ac9)
|
|
metze
(This used to be commit 6d5c74c38ca4d4a605b619cd7cbbd7e1dccd6b0c)
|
|
metze
(This used to be commit a251e722063486448005a95d0b44201b5f3a7620)
|
|
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
(This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
|
|
as we setup the 1 padding byte for non present dynamic part,
we need to overwrite it when we're getting a real dynamic part,
so we need to remove the buf->size +=1 when we do the first
push to the dynamic part (when buf->dynamic is still but->body + buf->body_fixed)
metze
(This used to be commit f309209629ad1b63a76fc06163a3eeb07dce4c86)
|
|
so we know that the 9th bytes is just uninitialized padding
metze
(This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
|
|
metze
(This used to be commit 1a4978118d27e978c04997869a307b793582917b)
|
|
metze
(This used to be commit 6908582f68478d5f702159f6b01934ffff3a95f0)
|
|
metze
(This used to be commit 70cc9928437d6edab3de5a858078870f510398d0)
|
|
metze
(This used to be commit cdee9b2168da47a38da769eb2b4f403bc4699dfe)
|
|
metze
(This used to be commit 49b5b3cd58c41b67adfbb77b4244989fba6bcd2e)
|
|
metze
(This used to be commit 44ab067d146503bd1cc008cf01c08b91fb14b204)
|
|
I only commit this as this is used in a global macro
tridge: we should try to get rid of this warning without using
(void)talloc_steal(ctx, ptr);
everywhere!!!
metze
(This used to be commit 3f8ce6d680b0c86abc698b8f9c6d8840da3ffd35)
|
|
metze
(This used to be commit c4755c83c61c0cc822c69cd274056ec20ba66fdb)
|
|
NT_STATUS_INVALID_HANDLE
metze
(This used to be commit aa98aad0975e59fc8cf56c624f728b33ab54e099)
|
|
metze
(This used to be commit 2ea15e9d28bca358989a565576ea7e8d9462e924)
|
|
metze
(This used to be commit fdfa6dcc97b6f7d61159497df2e214163d308649)
|
|
dynamic size if 0
metze
(This used to be commit c7e8e79d75fd53fa37e9220e5bc9cac7ab574ff6)
|
|
metze
(This used to be commit 9c4c40772bfd8a8324cd086c2234451d164be5d0)
|
|
- Implement SMB2 Read
metze
(This used to be commit d0ac0c5af44ba5aa8b18106c2ac26c0d194e59b4)
|
|
- Implement SMB2 Flush
metze
(This used to be commit 41d87ebe355cd34d35a93d1e90cd2680363cb5d3)
|
|
- 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 65b67a8af6b661fe6eeabf45563c6aba12a6660a)
|
|
the smb2srv code
metze
(This used to be commit 6c304a1a5f5dc6b2d3774682303874444a59b07d)
|
|
- pass in SMB2 ntvfs_handle callbacks
metze
(This used to be commit 338aee88d4ba3b25b473a456e55dd7ff5c1a4c5d)
|
|
TODO: pass in oplock and handle callbacks, but as we don't do file access
yet, it's no problem to skip them
metze
(This used to be commit 4ae4a742fc2e40b2937d9ce01f2e45f43f7ff1c3)
|
|
- move SMB2 specific elements to the end
metze
(This used to be commit 7d2087bd1b5036f79e205d6e17f2bca78576299e)
|
|
metze
(This used to be commit 012a08cfb9d550a47bed49b18335a038ae19605c)
|
|
metze
(This used to be commit de7e856a464c1c986be3687a7b97527b734240ce)
|
|
metze
(This used to be commit 297868325f305c652b14023a698099d5b358d70a)
|
|
metze
(This used to be commit 6c920d21a16e88040818cc8db6ebe918b5669a9b)
|
|
also if the dynamic flag should be set
metze
(This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
|
|
on most systems.
(This used to be commit c0ab0f4ed49d88807d07b1504574ca35542e2943)
|
|
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
|
|
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
|