Commit e39d63e0 authored by Thomas Guillem's avatar Thomas Guillem

dsm: also store credentials when there is no share

parent 29de47e7
...@@ -371,7 +371,7 @@ static int login( access_t *p_access ) ...@@ -371,7 +371,7 @@ static int login( access_t *p_access )
success: success:
msg_Warn( p_access, "Creds: username = '%s', domain = '%s'", msg_Warn( p_access, "Creds: username = '%s', domain = '%s'",
psz_login, psz_domain ); psz_login, psz_domain );
if( p_sys->psz_share != NULL && !b_guest ) if( !b_guest )
{ {
if( asprintf( &p_sys->psz_user_opt, "smb-user=%s", psz_login ) == -1 ) if( asprintf( &p_sys->psz_user_opt, "smb-user=%s", psz_login ) == -1 )
p_sys->psz_user_opt = NULL; p_sys->psz_user_opt = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment