Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
af933f48
Commit
af933f48
authored
Jan 07, 2016
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsm: use ';' to seperate domain from user (like smb module)
parent
c5d0a4ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access/dsm/access.c
modules/access/dsm/access.c
+4
-4
No files found.
modules/access/dsm/access.c
View file @
af933f48
...
...
@@ -139,7 +139,7 @@ struct access_sys_t
#define BDSM_LOGIN_DIALOG_TITLE N_( "%s: Authentication required" )
#define BDSM_LOGIN_DIALOG_TEXT N_( "The computer you are trying to connect " \
"to requires authentication.\n Please provide a username (and ideally a " \
"domain name using the format DOMAIN
\\
username)\n and a password." )
"domain name using the format DOMAIN
;
username)\n and a password." )
/*****************************************************************************
* Open: Initialize module's data structures and libdsm
...
...
@@ -255,10 +255,10 @@ static void Close( vlc_object_t *p_this )
* Local functions
*****************************************************************************/
/* Split DOMAIN
\User if it finds a '\
' in psz_login. */
/* Split DOMAIN
;User if it finds a ';
' in psz_login. */
static
void
split_domain_login
(
char
**
psz_login
,
char
**
psz_domain
)
{
char
*
user
=
strchr
(
*
psz_login
,
'
\\
'
);
char
*
user
=
strchr
(
*
psz_login
,
'
;
'
);
if
(
user
!=
NULL
)
{
...
...
@@ -279,7 +279,7 @@ static void get_credentials( access_t *p_access )
else
p_sys
->
creds
.
password
=
strdup
(
p_sys
->
url
.
psz_password
);
/* Here we support smb://DOMAIN
\
User:password@XXX, get user from options
/* Here we support smb://DOMAIN
;
User:password@XXX, get user from options
or default to "Guest" as last resort */
if
(
p_sys
->
url
.
psz_username
!=
NULL
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment