rustdesk-server-pro
rustdesk-server-pro copied to clipboard
Unable to Log In to the RustDesk Web Console with My Account
I am unable to log in to the web console with my account. Logins are configured using LDAP. It was working until yesterday. The user already existed, so it should not be trying to create it again.
@fufesou
@jbarciat Hi, is there any changes to your ldap account?
I've read the code.
RustDesk will only try to create a new user when the ldap bind dn is a new one.
If your ldap account
- Base DN,
dc=test1,dc=test2,dc=com. - out
ou=people - uid
uid=user1
Then the bind dn(identifier) is uid=user1,ou=people,dc=test1,dc=test2,dc=com in RustDesk db.
We have changed the user's OU
What do we have to do now?
Many users are affected?
Maybe you have to execute sql to keep users' ids for LDAP.
You can find the users' identifier in table user_third_auth in the db file db.sqlite3.
We have only moved one user to other OU.
We have only moved one user from the OU.
If the user is willing to accept this, you can delete the account and let him log in again.
If he does not want to delete the account, you have to modify the indentifier field in this table to keep it consistent with the current one.
Please backup the db files (db.sqlite3, db.sqlite3-shm, db.sqlite3-wal) first you're going to execute sql.
Thank you, we will try to delete the user and recreate it.
And if I see that we can't, I'll reply to the issue again.