Devolutions / Devolutions/sspi-rs

Requested security package not exist error is displayed after reconnecting MsRdpEx session

Open
#669 0 comments 0 reactions 1 assignee Claimed by @TheBestTvarynka View on GitHub
priority: p2-Medium type: bug
Dominant language
Rust
Stars
83
Forks
50
Avg merge
3d 12h
Merged PRs (30d)
9

Description

Environment:
- sspi-rs: master - abb9ffe16d
- MsRdpEx v2026.01.12.0 - https://github.com/Devolutions/MsRdpEx/releases
- Windows Server: WS 2025, Edition: Windows Server 2025 Standard Evaluation, Version: 24H2, OS build: 26100.32690, Experience: Windows Feature Experience Pack 1000.26100.275.0
- RDP server: Windows 11, Edition: Windows 11 Pro, Version: 25H2, OS build: 26200.8246, Experience: Windows Feature Experience Pack 1000.26100.297.0
- RDP client: Windows 11, Edition: Windows 11 Pro, Version: 25H2, OS build: 26200.8246, Experience: Windows Feature Experience Pack 1000.26100.297.0

Preconditions:
1. Windows Server installed and configured (Active Directory, DNS server)
2. RDP Server installed and configured (join the RDP server to the Windows Server domain, enable Remote Desktop, grant users access via RDP and modify hosts file)
3. RDP Client installed and configured (modify hosts file, configure DNS settings)
4. MsRdpEx is installed on the RDP Client
5. Environment variables are set on the RDP Client: SSPI_KDC_URL, SSPI_LOG_PATH, SSPI_LOG_LEVEL, MSRDPEX_CREDSSP_DLL, MSRDPEX_LOG_ENABLED, MSRDPEX_LOG_FILE_PATH, MSRDPEX_LOG_LEVEL

Steps:
1. Make sure the environment variable is set: SSPI_KDC_URL
2. Make sure the DNS is configured on the RDP client
3. Open MsRdpEx
4. Enter valid hostname to the "Computer" field, for example: TST-RDP-Server.negomod.test.lab
5. Enter valid short username to the "User name" field, for example: joe-moon
6. Click "Connect" button -> enter valid password and click "OK" button -> MsRdpEx session is successfully launched
7. Cause network interference to call session reconnect

AR: Requested security package not exist error is displayed after reconnecting MsRdpEx session, see screen and logs in attach: MsrdpEx-reconnection-error-ntlm.png, msrdpex.logs.txt, sspi-negomod.log
Image
[msrdpex.logs.txt](https://github.com/user-attachments/files/28019476/msrdpex.logs.txt)
[sspi-negomod.log](https://github.com/user-attachments/files/28019491/sspi-negomod.log)

ER: The MsRdpEx session is successfully reconnected. No error has occurred.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.