Browse Source

dsm: specify the v1 protocol in the dialog credential title

pull/97/head
Thomas Guillem 7 years ago
parent
commit
bf3c999938
  1. 2
      modules/access/dsm/access.c
  2. 2
      modules/access/smb_common.h

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

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

Loading…
Cancel
Save