-
Notifications
You must be signed in to change notification settings - Fork 46
Add user_mapping to config #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Added user_mapping to config remap user ID
Added reverse user mapping mapping
ldap_auth_provider.py
Outdated
| # If username is already mapped (from previous login), reverse it for LDAP queries | ||
| original_username = self._reverse_user_mapping(username) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if one changes their config partway through and the mapping is updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my case and most cases dont change mapping config but you are right. I made it new way with use of table user_external_ids. Is it good idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi I would ask if somebody looked on my code? I use it now in my company so some beta tests are made.
PS: Now I am woking on sync LDAP groups to room/space membership #166
implement savig to table user_external_ids
Updated examples.
Removed section on combining user mapping with Active Directory from README.
Removed user mapping troubleshooting section from README.
Because we have in our company AD numeric ID so i need remap it to anoher. Added user_mapping to config to remap user ID.