Skip to content

peer: Disconnect if Logon() returned FALSE#12196

Merged
akallabeth merged 1 commit into
FreeRDP:masterfrom
akallabeth:srv-logon
Jan 27, 2026
Merged

peer: Disconnect if Logon() returned FALSE#12196
akallabeth merged 1 commit into
FreeRDP:masterfrom
akallabeth:srv-logon

Conversation

@akallabeth
Copy link
Copy Markdown
Member

Returning FALSE implies the client was not authorized, but it does not have any real impact on the connection, other than setting the authorized field.

Change this by disconnecting the client if a Logon() callback returned that a client was not authorized.

Returning FALSE implies the client was not authorized, but it does not
have any real impact on the connection, other than setting the
authorized field.

Change this by disconnecting the client if a Logon() callback returned
that a client was not authorized.
@github-actions
Copy link
Copy Markdown

clang-tidy review says "All clean, LGTM! 👍"

@freerdp-bot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.freerdp.com//job/PullRequestTester/15766/

@akallabeth akallabeth merged commit c8e4d8e into FreeRDP:master Jan 27, 2026
6 checks passed
@akallabeth akallabeth deleted the srv-logon branch January 27, 2026 19:11
Comment thread include/freerdp/peer.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants