Bug 55754 - Internal server error in "office365/saml_setup.bat"
Internal server error in "office365/saml_setup.bat"
Status: NEW
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-02-24 09:19 CET by Mika Westphal
Modified: 2023-09-18 12:51 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.069
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023022421000226, 2023022421000208, 2023022421000235, 2023052321000062
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Mika Westphal univentionstaff 2023-02-24 09:28:52 CET
Version: 5.0-2 errata572 - UCS@school 5.0 v3

Remark: Bei der Einrichtung unserer Multitenantumgebung tritt der Fehler auf, dass wohl die .bat Datei nicht existiert. Dadurch kann ich die Verbindung nicht abschließend
einrichten.

Error:
Interner Server-Fehler in "office365/saml_setup.bat".
Request: office365/saml_setup.bat

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 347, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/office365/__init__.py", line 148, in saml_setup_script
    with open(SAML_SETUP_SCRIPT_PATH.format(adconnection_alias='_{}'.format(self.adconnection_alias) if self.adconnection_alias else ''), 'rb') as fd:
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/univention-office365/saml_setup_****.bat'

Role: domaincontroller_master
Comment 2 Erik Damrose univentionstaff 2023-02-24 11:22:41 CET
It would be helpful to see the logfile from the time the UMC MS365 setup wizard was run to determine if there was a problem during the creation of the Azure AD connection.
Comment 5 Maximilian Janßen univentionstaff 2023-06-20 13:07:59 CEST
Version: 5.0-3 errata668
Remark: Hi, I'm experimenting with the office 365 connector and when trying to download the SAML setup script, I got this error.
Comment 6 Mika Westphal univentionstaff 2023-09-18 12:51:28 CEST
2023081721000194  5.0-4 errata783
2023081721000149  4.4-9 errata1371 (Blumenthal)

Internal server error during "office365/saml_setup.bat".
Request: office365/saml_setup.bat

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 387, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 285, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/office365/__init__.py", line 148, in saml_setup_script
    with open(SAML_SETUP_SCRIPT_PATH.format(adconnection_alias='_{}'.format(self.adconnection_alias) if self.adconnection_alias else ''), 'rb') as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/univention-office365/saml_setup_defaultADconnection.bat'