[vlc-devel] [PATCH 2/3] smb2: store the protocol version as authtype
Thomas Guillem
thomas at gllm.fr
Fri Oct 18 15:52:39 CEST 2019
Only for storing, this module will try every authtype anyway.
---
modules/access/smb2.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/access/smb2.c b/modules/access/smb2.c
index 923e6d57e04..b0cd07658c3 100644
--- a/modules/access/smb2.c
+++ b/modules/access/smb2.c
@@ -674,7 +674,10 @@ Open(vlc_object_t *p_obj)
ret = vlc_smb2_open_share(access, smb2_url, &credential);
}
if (ret == 0)
+ {
+ credential.psz_authtype = "2";
vlc_credential_store(&credential, access);
+ }
vlc_credential_clean(&credential);
if (ret != 0)
--
2.20.1
More information about the vlc-devel
mailing list