Commit 6478eb26 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

dsm: fix logs

parent bed447c7
...@@ -151,8 +151,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -151,8 +151,6 @@ static int Open( vlc_object_t *p_this )
if( get_address( p_access ) != VLC_SUCCESS ) if( get_address( p_access ) != VLC_SUCCESS )
goto error; goto error;
msg_Dbg( p_access, "Creds: username = %s, domain = %s",
p_sys->creds.login, p_sys->creds.domain );
msg_Dbg( p_access, "Session: Host name = %s, ip = %s", p_sys->netbios_name, msg_Dbg( p_access, "Session: Host name = %s, ip = %s", p_sys->netbios_name,
inet_ntoa( p_sys->addr ) ); inet_ntoa( p_sys->addr ) );
...@@ -355,14 +353,16 @@ static int login( access_t *p_access ) ...@@ -355,14 +353,16 @@ static int login( access_t *p_access )
goto success; goto success;
} }
msg_Err( p_access, "Unable to login with username = %s, domain = %s", msg_Err( p_access, "Unable to login with username = '%s', domain = '%s'",
p_sys->creds.login, p_sys->creds.domain ); psz_login, psz_domain );
goto error; goto error;
} }
else if( smb_session_is_guest( p_sys->p_session ) ) else if( smb_session_is_guest( p_sys->p_session ) )
msg_Warn( p_access, "Login failure but you were logged in as a Guest"); msg_Warn( p_access, "Login failure but you were logged in as a Guest");
success: success:
msg_Dbg( p_access, "Creds: username = '%s', domain = '%s'",
psz_login, psz_domain );
p_sys->creds.login = strdup(psz_login); p_sys->creds.login = strdup(psz_login);
p_sys->creds.password = strdup(psz_password); p_sys->creds.password = strdup(psz_password);
p_sys->creds.domain = strdup(psz_domain); p_sys->creds.domain = strdup(psz_domain);
......
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