[vlc-commits] smb2: enable anonymous login
Thomas Guillem
git at videolan.org
Tue Aug 6 11:51:55 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Aug 6 09:09:07 2019 +0200| [e8868d679c5ee40d9cc31196b81790ce5fb9a416] | committer: Thomas Guillem
smb2: enable anonymous login
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8868d679c5ee40d9cc31196b81790ce5fb9a416
---
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);
More information about the vlc-commits
mailing list