LDAP error
Hello, I am signing on my account like always but I have this error:
The email of this ldap user has been used by another user, please search on users page on web console, and find the user, you might have to change its email if you want to log in with this ldap user.
That user has always been with LDAP and until yesterday it worked.
@jbarcia2019 Have you changed the LDAP settings of the user? Was the bind_dn of that user changed?
If so, you may need to ask him to login in the web console, then the new LDAP can link to that email agian.
You may see two LDAP users with the same email in the users page. That's ok, it only takes up one user license.
Please DON'T delete the user in the web console! Because it will delete both users (old and new LDAP users) .
If you can visit the db (sqlite). https://github.com/rustdesk/rustdesk-server-pro/discussions/184#discussioncomment-8013375 You can delete the old data, then only one user will be shown.
- Find the link data in table
user_third_auth - Backup the db files.
db.sqlite3,db.sqlite3-shm,db.sqlite3-wal. - Delete the old one.
delete from "user_third_auth" where "type" = 'LDAP' and "identifier" = 'old bind dn';