Commits on Source (28)
-
Changelog since 3.0.0: - Add support for SMB3 encryption - Add support for Anonymous NTLMSSP logins - Add support for readlink. - Add API to notify application of changes to which filehandles are used by libsmb2. - Add suppport for Big Endian DCERPC and allow it to be controlled from the URL. - Add support for 3.1.1 signing - Add support for PS2(EE) and PS3 - Fixes to UCS2 when compose characters are used. - Various MacOS fixes - Fix a few NULL dereferences All theses fixes were already included in the contrib version. (cherry picked from commit 1cf1991b) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
6d83f125 -
(cherry picked from commit 074209c0) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
cc5792d4 -
(cherry picked from commit 25654510) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
796de47e -
Instead of using the same context from the access_sys struct. (cherry picked from commit 3b4a40e9) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
db782849 -
No functional changes. (cherry picked from commit e9510183) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
7816adfe -
(cherry picked from commit 7dd7780d) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
5ed57918 -
And switch to meson. (cherry picked from commit 305eae38) (cherry picked from commit 871efa3d) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
30543be1 -
(cherry picked from commit 36ab008e) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
c52b65b2 -
Fixes this warning with clang10: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'uint32_t *' (aka 'unsigned int *') Similar to what is done in access/smb2.c (cherry picked from commit 009bce07) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
9915bab8 -
It's only needed from get_address(), from Open(). (cherry picked from commit d0ffce0f) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
5659b3d9 -
(cherry picked from commit 088e3783) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
8de7cd00 -
(cherry picked from commit 014e84a3) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
224a6b7c -
(cherry picked from commit f0c6da69) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
34f09f40 -
The dsm interrupt context was also registered when calling the credential API that can end up in keystore modules that need to register an interrupt context. To fix this issue, register the interrupt context only before dsm calls. (cherry picked from commit 6b4b7225) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
608c373b -
But return it directly from function and sub functions. (cherry picked from commit 29b85334) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
14c93651 -
- Always call VLC_SMB2_SET_ERROR() in case of error, - Don't loose the returned error code - Fallback to -EINVAL in case of unknown error (very unlikely case) (cherry picked from commit c2370913) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
a6d1d127 -
This fixes a potential stack-buffer-overflow when destroying a context from Close() if an operation was aborted. Indeed, the smb2_destroy() function might trigger callbacks with private data that was allocated on an old function stack. To fix this issue, always destroy the smb2 context immediately after an error (when the struct vlc_smb2_op is valid). This issue is currently hidden by the teardown mechanism (but still possible), that always try to close gracefully in case of error. (cherry picked from commit 924c9515) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
3517facb -
If interrupted by the user, just close the connection whitout sending a close request and don't save the context in the cache in that case. (cherry picked from commit cf7d48cd) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
c1ebabfb -
If the smb2_timeout was valid, then not valid (infinite), the last value was not taken into account. (cherry picked from commit ac95bf19) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
86dcae85 -
(cherry picked from commit e9acccac) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
3681112e -
(cherry picked from commit 93b55c9f) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
cfdb5355 -
No changes since this function is only checked for != 0 (for now). (cherry picked from commit 0d51ab8a) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
b0e727a0 -
op->smb2 won't be used in case of error but it is cleaner like that. (cherry picked from commit 5264a625) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
c266ba81 -
Errors can also be reported via generic cbs, that will cause the vlc_smb2_mainloop to abort. In that case, we should destroy the smb2 context to fix the issue mentioned by 924c9515 (cherry picked from commit 960ef3f8) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
dd80816d -
Not sure when this regression happened on the libsmb2 side. But setting the password to an empty string do enable anonymous login now. (cherry picked from commit 205963ad) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
7e34f61f -
(cherry picked from commit d70173fc) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
bf6dbbc4 -
It was causing seek error when seeking past INT_MAX Regression from c2370913 (cherry picked from commit 9646722d) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
096208ae -
(cherry picked from commit e6b0c071) Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
cabe90d1
Showing
- contrib/src/libdsm/SHA512SUMS 1 addition, 1 deletioncontrib/src/libdsm/SHA512SUMS
- contrib/src/libdsm/rules.mak 9 additions, 13 deletionscontrib/src/libdsm/rules.mak
- contrib/src/smb2/SHA512SUMS 1 addition, 1 deletioncontrib/src/smb2/SHA512SUMS
- contrib/src/smb2/rules.mak 2 additions, 2 deletionscontrib/src/smb2/rules.mak
- modules/access/dsm/access.c 122 additions, 24 deletionsmodules/access/dsm/access.c
- modules/access/smb2.c 259 additions, 194 deletionsmodules/access/smb2.c