Browse Source

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.
pull/134/head
Thomas Guillem 4 years ago
committed by Felix Paul Kühne
parent
commit
205963ad09
  1. 4
      modules/access/smb2.c

4
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 =

Loading…
Cancel
Save