rustdesk / rustdesk-server

RustDesk Server Program

Home Page:https://rustdesk.com/server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with LDAP/Active Directory

ArnaudL75 opened this issue · comments

Bug Description

Hello,

I have an issue when I try to connect my Server Pro to my Active Directory.

I provide the following informations:

  • LDAP Host = ad1.mycompany.intra
  • LDAP Port = 389
  • Base DN = DC=mycompany,DC=INTRA
  • Bind DN = CN=Admin_mycompany,CN=Users,DC=mycompany,DC=INTRA

I get the error message:
Failed to update Ldap: LDAP operation result: rc=49 (invalidCredentials), dn: "", text: "80090308: LdapErr: DSID-0C090434, comment: AcceptSecurityContext error, data 52e, v4f7c"

I am completely sure of the bind information.

When I try a tail -f /var/log/rustdesk-server/hbbs.log, I get :
[2023-09-13 18:46:33.591068 +02:00] INFO [src/ldap.rs:133] New LDAP connection: ldap://ad1.mycompany.intra:389

And I see the TCP connection on my FW.

Have you got an idea ?

Thanks a lot for your product !

How to Reproduce

Bottom

Expected Behavior

Expected : LDAP connection

Operating system(s) on local side and remote side

Debian 11

RustDesk Version(s) on local side and remote side

1.1.9

Screenshots

Capture d’écran 2023-09-13 184925

Capture d’écran 2023-09-13 185023

Additional Context

No response

I'm sorry, I double opened issue, on on RustDesk, the other on RustDesk-server !