Skip to content

Conversation

@bukowski12
Copy link

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.

Added  user_mapping to config remap user ID
Added reverse user mapping mapping
@bukowski12 bukowski12 requested a review from a team as a code owner July 21, 2025 12:42
Comment on lines 198 to 199
# If username is already mapped (from previous login), reverse it for LDAP queries
original_username = self._reverse_user_mapping(username)
Copy link
Member

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?

Copy link
Author

@bukowski12 bukowski12 Jul 23, 2025

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?

Copy link
Author

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
@richvdh richvdh changed the title Added user_mapping to config Add user_mapping to config Oct 8, 2025
Removed section on combining user mapping with Active Directory from README.
Removed user mapping troubleshooting section from README.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants