Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
205963ad by Thomas Guillem at 2022-04-21T15:40:48+00:00
smb2: fix anonymous login

Not sure when this regression happened on the libsmb2 side.
But setting the password to an empty string do enable anonymous login
now.

- - - - -


1 changed file:

- modules/access/smb2.c


Changes:

=====================================
modules/access/smb2.c
=====================================
@@ -670,8 +670,8 @@ vlc_smb2_connect_open_share(stream_t *access, const char 
*url,
     if (!username)
     {
         username = "Guest";
-        /* A NULL password enable ntlmssp anonymous login */
-        password = NULL;
+        /* An empty password enable ntlmssp anonymous login */
+        password = "";
     }
 
     struct vlc_access_cache_entry *cache_entry =



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/205963ad09401ab3cbe5bf92c7f9b109092f87f4

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/205963ad09401ab3cbe5bf92c7f9b109092f87f4
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to