Skip to content
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

sAMAccountName #5

Open
markiceman opened this issue May 9, 2022 · 2 comments
Open

sAMAccountName #5

markiceman opened this issue May 9, 2022 · 2 comments

Comments

@markiceman
Copy link

We don't using uid. We using sAMAccountName for mxids. Please, make this parameter configurable.

Thank You very much.

@davidmehren
Copy link
Owner

I'm happy to merge pull requests for this, but will not actively implement feature requests, as the current state of the plugin fits my use-case.

@markiceman
Copy link
Author

OK, I understand.

I changed uid -> saAMAaccountname in code. ldap-check works, but ldap-sync:

Traceback (most recent call last):
File "/data/plugins/de.herrmehren.ldap-inviter-v0.0.1.mbp/inviter/bot.py", line 104, in ldap_sync
await self.sync_rooms(evt, self.config["sync_rooms"], template_arg)
File "/data/plugins/de.herrmehren.ldap-inviter-v0.0.1.mbp/inviter/bot.py", line 90, in sync_rooms
await self.sync_room(evt, room, template_arg1)
File "/data/plugins/de.herrmehren.ldap-inviter-v0.0.1.mbp/inviter/bot.py", line 56, in sync_room
room_id = await self.matrix_utils.ensure_room_with_alias(alias)
File "/data/plugins/de.herrmehren.ldap-inviter-v0.0.1.mbp/inviter/matrix_utils.py", line 70, in ensure_room_with_alias
room = await self.room_methods.get_room_alias(alias)
AttributeError: 'RoomMethods' object has no attribute 'get_room_alias'

Do you have any idea?

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

No branches or pull requests

2 participants