Devolutions / Devolutions/sspi-rs

SPNEGO NTLM authorization error when connecting to RD Gateway

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

Description

Set up RD Gateway and try to connect via `FreeRDP` (do not worry about passwords; it's a local lab):

```bash
./sdl-freerdp /v:DESKTOP-QELPR32.tbt.com /gateway:g:dgateway.tbt.com,u:t2,d:TBT,p:qqqQQQ111!!! /u:t2 /d:TBT /cert:ignore /p:qqqQQQ111!!! /log-level:TRACE /sspi-module:libsspi.dylib /auth-pkg-list:ntlm,!kerberos /tls:secrets-file:tls-secrets.txt
```

The authorization process will fail:

Image

I already did a small investigation. The problem in the `SecurityStatus` returned to FreeRDP by sspi-rs. FreeRDP expects `SecurityStatus::Ok` but the library returns `SecurityStatus::ContinueNeeded`.

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.