sapucc / inviterbot Goto Github PK
View Code? Open in Web Editor NEWA maubot plugin to sync users from Azure AD and LDAP into matrix rooms
License: GNU General Public License v3.0
A maubot plugin to sync users from Azure AD and LDAP into matrix rooms
License: GNU General Public License v3.0
Is it possible to create a room in particular space?
I looks like the renamed_users
functionality does not work if the user has a dot in its new username (e.g. name.firstname
. Even using brackets like this "[name.firstname]"
seems not to work.
Hi,
I am trying to manage users and rooms with AAD, but I can't get over this error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/mautrix/client/syncer.py", line 235, in _catch_errors
await handler(data)
File "/opt/maubot/maubot/handlers/command.py", line 154, in __call__
return await self.__mb_func__(self.__bound_instance__, evt, **call_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/bot.py", line 109, in idp
room_struct = await helper.get_room_struct_from_idp(self.config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/bot_helper.py", line 65, in get_room_struct_from_idp
room_struct = await ms_graph_connector.get_rooms(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/ms_graph_connector.py", line 143, in get_rooms
mxid = config.get_renamed_mxid(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/plugins/de.in4md-service.inviterbot-v0.1.4.mbp/inviter/config.py", line 47, in get_renamed_mxid
if renamed_users.get(mxid.username):
^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
It's in the logs every time I try to do anything that would connect to AAD. I suspect there is something wrong with my AAD user groups setup, but I tried to recreate it as much exactly as possible according to documentation.
Is there some more info that I can look at to further troubleshoot the issue?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.