[vlc-devel] [PATCH 3/3] smb2: enable anonymous login
Thomas Guillem
thomas at gllm.fr
Tue Aug 6 09:10:36 CEST 2019
---
modules/access/smb2.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/access/smb2.c b/modules/access/smb2.c
index 41864ccfa8..932a5f8f0b 100644
--- a/modules/access/smb2.c
+++ b/modules/access/smb2.c
@@ -464,7 +464,8 @@ vlc_smb2_open_share(stream_t *access, const struct smb2_url *smb2_url,
if (!username)
{
username = "Guest";
- password = "";
+ /* A NULL password enable ntlmssp anonymous login */
+ password = NULL;
}
smb2_set_password(sys->smb2, password);
--
2.20.1
More information about the vlc-devel
mailing list