rustdesk / rustdesk/rustdesk-server-pro
OIDC user mapping to LDAP user - e-mail verification non functional
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 317
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
If a user was initially provisioned using LDAP und then tries to login via OIDC, the e-mail verification code for connecting both user objects isn't sent by the RustDesk server.
log message:
DEBUG [src/auth.rs:1789] Verification code request ignored for email 'abc@abc.de' from ::ffff:127.0.0.1: ldap user
steps tried:
- confirmed SMTP is configured correctly
- enabled e-mail verification for user
environment:
- Debian 13
- Docker installation according to RustDesk docs
- nginx reverse proxy for web UI
- LDAP connection to MS Active Directory
- OIDC to Azure Entra ID
Both methods work independently, but trying to log into a LDAP user via Entra ID fails due to the described reason.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/auth.rs around line 1789 and trace the verification-code request for an LDAP user logging in through OIDC. Reproduce the documented Docker setup with LDAP, Azure Entra ID, SMTP, and email verification enabled; done means the code is sent and the LDAP and OIDC user objects can be connected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, debian, docker, nginx, rust
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100