Hi Andrey,

can´t tell from the log alone.

Do you authenticate against a SAM file?


which changes do you have in your sources (or are you using an older commit?)

I can´t find the log lines for

[nla_server_authenticate]: remote session info empty

[nla_server_authenticate]: local session info empty


regards

Armin

On 22.03.23 15:00, Andrey Af via FreeRDP-devel wrote:
Hi All,

When I run freerdp-shadow (git version, with NTLM auth) via ipc-socket I
get an error, why is that? At the same time, when the listen socket is
used, this is a working good.
Here is the error output::

[21:37:25:573] [1339:1339] [INFO][com.freerdp.core.listener] -
[freerdp_listener_open_local]: Listening on socket /tmp/proxy_101.
[21:37:25:606] [1339:1343] [DEBUG][com.winpr.thread] - [ThreadCloseHandle]:
Thread running, setting to detached state!
[21:37:25:606] [1339:1346] [DEBUG][com.freerdp.core.connection] -
[rdp_server_transition_to_state]: CONNECTION_STATE_INITIAL -->
CONNECTION_STATE_INITIAL
[21:37:25:610] [1339:1346] [DEBUG][com.freerdp.core.connection] -
[rdp_server_transition_to_state]: CONNECTION_STATE_INITIAL -->
CONNECTION_STATE_NEGO
[21:37:25:610] [1339:1346] [DEBUG][com.freerdp.core.nego] -
[nego_read_request_token_or_cookie]: received cookie [Cookie:
mstshash=demo1]
[21:37:25:610] [1339:1346] [DEBUG][com.freerdp.core.nego] -
[nego_process_negotiation_request]: RDP_NEG_REQ: RequestedProtocol:
0x00000003
[21:37:25:610] [1339:1346] [INFO][com.freerdp.core.connection] -
[rdp_server_accept_nego]: Client Security: NLA:1 TLS:1 RDP:0
[21:37:25:610] [1339:1346] [INFO][com.freerdp.core.connection] -
[rdp_server_accept_nego]: Server Security: NLA:1 TLS:0 RDP:0
[21:37:25:610] [1339:1346] [INFO][com.freerdp.core.connection] -
[rdp_server_accept_nego]: Negotiated Security: NLA:1 TLS:0 RDP:0
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.sspi] -
[InitSecurityInterfaceExA]: InitSecurityInterfaceExA
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.auth] -
[credssp_auth_init]: Using package: Negotiate (cbMaxToken: 12256 bytes)
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.auth] -
[credssp_auth_setup_server]: Acquired server credentials
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.nla] - [nla_set_state]:
-- NLA_STATE_INITIAL        --> NLA_STATE_INITIAL
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.nla] -
[nla_decode_ts_request]: <<----- receiving...
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.nla] -
[nla_decode_ts_request]:    <<----- protocol version 6
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.nla] -
[nla_decode_ts_request]:    <<----- nego token
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.nla] -
[nla_decode_ts_request]:    <<----- client nonce
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.nla] -
[nla_server_authenticate]: Receiving Authentication Token
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.negotiate] -
[negotiate_AcceptSecurityContext]: Mechanism: NTLM (1.3.6.1.4.1.311.2.2.10)
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.sspi.NTLM] -
[ntlm_change_state]: change state from NTLM_STATE_INITIAL to
NTLM_STATE_INITIAL
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.sspi.NTLM] -
[ntlm_change_state]: change state from NTLM_STATE_INITIAL to
NTLM_STATE_NEGOTIATE
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.sspi.NTLM] -
[ntlm_read_negotiate_flags]: Read flags [0xe20882b7]
NTLMSSP_NEGOTIATE_UNICODE|NTLMSSP_NEGOTIATE_OEM|NTLMSSP_REQUEST_TARGET|NTLMSSP_NEGOTIATE_SIGN|NTLMSSP_NEGOTIATE_SEAL|NTLMSSP_NE
GOTIATE_LM_KEY|NTLMSSP_NEGOTIATE_NTLM|NTLMSSP_NEGOTIATE_ALWAYS_SIGN|NTLMSSP_NEGOTIATE_EXTENDED_SESSION_SECURITY|NTLMSSP_NEGOTIATE_VERSION|NTLMSSP_NEGOTIATE_128|NTLMSSP_NEGOTIATE_KEY_EXCH
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.sspi.NTLM] -
[ntlm_change_state]: change state from NTLM_STATE_NEGOTIATE to
NTLM_STATE_CHALLENGE
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.sspi.NTLM] -
[ntlm_write_negotiate_flags]: Write flags [0xe28882b7]
NTLMSSP_NEGOTIATE_UNICODE|NTLMSSP_NEGOTIATE_OEM|NTLMSSP_REQUEST_TARGET|NTLMSSP_NEGOTIATE_SIGN|NTLMSSP_NEGOTIATE_SEAL|NTLMSSP_
NEGOTIATE_LM_KEY|NTLMSSP_NEGOTIATE_NTLM|NTLMSSP_NEGOTIATE_ALWAYS_SIGN|NTLMSSP_NEGOTIATE_EXTENDED_SESSION_SECURITY|NTLMSSP_NEGOTIATE_TARGET_INFO|NTLMSSP_NEGOTIATE_VERSION|NTLMSSP_NEGOTIATE_128|NTLMSSP_NEGOTIATE_KEY_EXCH
[21:37:25:616] [1339:1346] [DEBUG][com.winpr.sspi.NTLM] -
[ntlm_change_state]: change state from NTLM_STATE_CHALLENGE to
NTLM_STATE_AUTHENTICATE
[21:37:25:616] [1339:1346] [DEBUG][com.freerdp.core.auth] -
[credssp_auth_authenticate]: Authentication in progress... (outpu
[21:37:25:817] [1339:1346] [ERROR][com.freerdp.core.nla] -
[nla_server_authenticate]: remote session info empty
[21:37:25:817] [1339:1346] [ERROR][com.freerdp.core.nla] -
[nla_server_authenticate]: local session info empty
[21:37:25:817] [1339:1346] [ERROR][com.freerdp.core.transport] -
[transport_accept_nla]: client authentication failure

_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel


_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to