[vlc-commits] smb2: enable signing security mode

Thomas Guillem git at videolan.org
Fri Sep 13 16:05:10 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Sep 13 15:13:06 2019 +0200| [ffd3083477b545658d83483f80d54bfca3435113] | committer: Thomas Guillem

smb2: enable signing security mode

This fixes an ACCESS_DENIED error when browsing SMB3 macOS shares.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ffd3083477b545658d83483f80d54bfca3435113
---

 modules/access/smb2.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/smb2.c b/modules/access/smb2.c
index 5cdbf209b4..9c3b19ba5c 100644
--- a/modules/access/smb2.c
+++ b/modules/access/smb2.c
@@ -608,6 +608,8 @@ Open(vlc_object_t *p_obj)
         goto error;
     }
 
+    smb2_set_security_mode(sys->smb2, SMB2_NEGOTIATE_SIGNING_ENABLED);
+
     if (sys->encoded_url.psz_path == NULL)
         sys->encoded_url.psz_path = (char *) "/";
 



More information about the vlc-commits mailing list