Bug 50517 - Add multidomain support to office 365 wizard
Add multidomain support to office 365 wizard
Status: CLOSED INVALID
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks: 50324
  Show dependency treegraph
 
Reported: 2019-11-19 13:03 CET by Jürn Brodersen
Modified: 2020-02-27 10:04 CET (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2019-11-19 13:03:28 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'
Comment 1 Jürn Brodersen univentionstaff 2019-11-19 13:06:43 CET
Workaround:
/usr/share/univention-office365/scripts/manage_adconnections create default
Comment 2 Jürn Brodersen univentionstaff 2019-11-19 13:15:56 CET
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.
Comment 3 Jürn Brodersen univentionstaff 2019-11-19 13:44:26 CET
My test machine machine stopped working and I had to reset the machine. Now the join script works...