https://bugs.kde.org/show_bug.cgi?id=482836

            Bug ID: 482836
           Summary: [REGRESSION] Unable to login with domain user
    Classification: Applications
           Product: krdc
           Version: 24.02.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: RDP
          Assignee: uwol...@kde.org
          Reporter: shivar...@gmail.com
                CC: aa...@kde.org
  Target Milestone: ---

Created attachment 166687
  --> https://bugs.kde.org/attachment.cgi?id=166687&action=edit
Attempt to provide the domain to libfreerdp

SUMMARY
Starting from 24.02.0, I'm unable to login using the DOMAIN\USER username.
Version 23.08.5 works correctly, as well as invoking xfreerdp directly with the
parameters /u:USER /d:DOMAIN or /u:DOMAIN\\USER.

STEPS TO REPRODUCE
Login attempt with a domain user (DOMAIN\USER) results in authentication
failure:

KRDC: Starting RDP session
[09:14:14:707] [85344:85344] [WARN][com.freerdp.crypto] - Certificate
verification failure 'self-signed certificate (18)' at stack position 0
[09:14:14:707] [85344:85344] [WARN][com.freerdp.crypto] - CN = xxxxxxxx
[09:14:15:909] [85344:85344] [WARN][com.freerdp.core.nla] - SPNEGO received
NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server
[09:14:15:909] [85344:85344] [ERROR][com.freerdp.core] -
nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_LOGON_FAILURE [0x00020014]
[09:14:15:910] [85344:85344] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback:
CONNECTION_STATE_NLA - nla_recv_pdu() fail
[09:14:15:910] [85344:85344] [ERROR][com.freerdp.core.transport] -
transport_check_fds: transport->ReceiveCallback() - -1
KRDC: Unable to connect
KRDC: ERRCONNECT_LOGON_FAILURE Logon failed.

ADDITIONAL INFORMATION

It is probably related to the xfreerdp -> libfreerdp change.

Looking at the code, it seems that the domain is not parsed and provided to the
freerdp library.
I tried then with the attached patch -- it seems to proceed, but now I
encounter a different error (connection closed by remote server?):

KRDC: Starting RDP session
[09:18:29:151] [88014:88014] [WARN][com.freerdp.crypto] - Certificate
verification failure 'self-signed certificate (18)' at stack position 0
[09:18:29:151] [88014:88014] [WARN][com.freerdp.crypto] - CN = xxxxxxxx
[09:18:29:454] [88014:88014] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 104: Connessione interrotta dal corrispondente
[09:18:29:454] [88014:88014] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[09:18:30:976] [88014:88014] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 104: Connessione interrotta dal corrispondente
[09:18:30:976] [88014:88014] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[09:18:30:976] [88014:88014] [ERROR][com.freerdp.core] - freerdp_post_connect
failed
KRDC: Unable to connect
KRDC: ERRCONNECT_CONNECT_TRANSPORT_FAILED The connection transport layer
failed.

I am unable to debug further at this point.

freerdp version is 2.11.4.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to