dsm: specify the v1 protocol in the dialog credential title

This commit is contained in:
Thomas Guillem 2019-10-17 16:31:07 +02:00
parent ddb7cee98f
commit bf3c999938
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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 " \