[vlc-commits] dsm: specify the v1 protocol in the dialog credential title
Thomas Guillem
git at videolan.org
Fri Oct 18 09:23:07 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Oct 17 16:31:07 2019 +0200| [bf3c999938b86639b1fb084e3fd30e2fa6493d3d] | committer: Thomas Guillem
dsm: specify the v1 protocol in the dialog credential title
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf3c999938b86639b1fb084e3fd30e2fa6493d3d
---
modules/access/dsm/access.c | 2 +-
modules/access/smb_common.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index 7cf46cf593..060004f9fa 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -383,7 +383,7 @@ static int login( stream_t *p_access )
}
while( connect_err == EACCES
&& vlc_credential_get( &credential, p_access, "smb-user", "smb-pwd",
- SMB_LOGIN_DIALOG_TITLE,
+ SMB1_LOGIN_DIALOG_TITLE,
SMB_LOGIN_DIALOG_TEXT, p_sys->netbios_name ) )
{
b_guest = false;
diff --git a/modules/access/smb_common.h b/modules/access/smb_common.h
index 7f869d1ac3..e3f069b8e4 100644
--- a/modules/access/smb_common.h
+++ b/modules/access/smb_common.h
@@ -28,6 +28,8 @@
#define SMB_DOMAIN_LONGTEXT N_("Domain/Workgroup that " \
"will be used for the connection.")
+#define SMB1_LOGIN_DIALOG_TITLE N_( "SMBv1 authentication required" )
+
#define SMB_LOGIN_DIALOG_TITLE N_( "SMB authentication required" )
#define SMB_LOGIN_DIALOG_TEXT N_( "The computer (%s) you are trying to connect " \
"to requires authentication.\nPlease provide a username (ideally a " \
More information about the vlc-commits
mailing list