Univention Bugzilla – Bug 50517
Add multidomain support to office 365 wizard
Last modified: 2020-02-27 10:04:05 CET
The wizard does not yet work with the cahnges for bug 50324 Interner Server-Fehler in "office365/query". Request: office365/query Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 358, in __error_handling six.reraise(etype, exc, etraceback) File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 261, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/office365/__init__.py", line 91, in query 'initialized': AzureAuth.is_initialized(self.adconnection_alias), File "/usr/lib/pymodules/python2.7/univention/office365/azure_auth.py", line 374, in is_initialized tokens = cls.load_tokens(adconnection_alias) File "/usr/lib/pymodules/python2.7/univention/office365/azure_auth.py", line 416, in load_tokens return JsonStorage(AzureADConnectionHandler.get_conf_path('TOKEN_FILE', adconnection_alias)).read() File "/usr/lib/pymodules/python2.7/univention/office365/azure_auth.py", line 98, in get_conf_path conf_dir = os.path.join(ADCONNECTION_CONF_BASEPATH, adconnection_alias) File "/usr/lib/python2.7/posixpath.py", line 68, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith'
Workaround: /usr/share/univention-office365/scripts/manage_adconnections create default
The joinscript had throw an error: Waiting for activation of the extension object office365/ad-connection: OK Waiting for file /usr/share/univention-office365/handler.d/ad-connection.py: OK Terminating running univention-cli-server processes. Object exists: cn=office365,dc=univention,dc=intranet Object exists: cn=profiles,cn=office365,dc=univention,dc=intranet Object exists: cn=ad-connections,cn=office365,dc=univention,dc=intranet unknown module office365/profile.
My test machine machine stopped working and I had to reset the machine. Now the join script works...