Skip to content

native part (linux-entra-sso.py) is incompatible with broker version > 2.0.1 #108

@PookyFan

Description

@PookyFan

I'm trying to troubleshoot why Linux Entra SSO extension doesn't work for me, although it used to a few months ago.

I set up the extension to work on my Intune enrolled Linux system and it was working fine, but that was some time ago and since then I haven't really used it for various reasons. Now, when I try to log in to my company's services, they don't recognize my system as enrolled. I think this is because at some point Linux Entra SSO stopped working.

The most apparent problem, apart from lack of access to the services, is that whenever I click extension icon in extensions panel in browser, it starts to get very laggy and suddenly my browser starts using much more RAM and CPU than it should. The less apparent one is that there seems to be some exception thrown when the extension is working. The following are the logs from when I ran my browser in the terminal:

Running as native messaging instance.
For interactive mode, start with --interactive
Traceback (most recent call last):
File "/usr/libexec/linux-entra-sso/linux-entra-sso.py", line 352, in
run_as_native_messaging()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/libexec/linux-entra-sso/linux-entra-sso.py", line 256, in run_as_native_messaging
ssomib = SsoMib(daemon=True)
File "/usr/libexec/linux-entra-sso/linux-entra-sso.py", line 85, in init
self._introspect_broker(fail_on_error=False)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/linux-entra-sso/linux-entra-sso.py", line 92, in _introspect_broker
self.broker = self._bus.get(self.BROKER_NAME, self.BROKER_PATH)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pydbus/proxy.py", line 59, in get
return CompositeInterface(introspection)(self, bus_name, object_path)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pydbus/proxy.py", line 118, in CompositeInterface
raise KeyError("object does not export any interfaces; you might need to pass object path as the 2nd argument for get()")
KeyError: 'object does not export any interfaces; you might need to pass object path as the 2nd argument for get()'

I ran python3 ./linux-entra-sso.py --interactive acquirePrtSsoCookie as suggested for troubleshooting, and it gives me the same error.

I am using latest (1.7.1) version of the extension on up-to-date Debian 13 system. The browser I'm using is Vivaldi, so Chromium version of the extension applies in my case. I have Intune and MS Identity Broker installed and I double checked that Intune shows my system as successfully checked for compliance.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions