Bug 39675

Summary: License import doesn't work via SAML (SSO)
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: UMC (Generic)Assignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: best, walkenhorst, wiesenthal
Version: UCS 3.2   
Target Milestone: UCS 4.1-0-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=34451
What kind of report is it?: --- 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): SAML
Max CVSS v3 score:
Attachments: patch

Description Stefan Gohmann univentionstaff 2015-10-30 07:01:01 CET
I've logged in via SAML and tried to import the license. It failed with the message:

The import of the license failed. Check the integrity of the original file given to you. If this error persists, please contact Univention or your Univention partner.

From management-console-module-udm.log:
29.10.15 19:22:33.184  MODULE      ( ERROR   ) : License import failed (malformed LDIF): INVALID_CREDENTIALS({'desc': 'Invalid credentials'},)
Comment 1 Florian Best univentionstaff 2015-11-12 18:01:32 CET
Created attachment 7292 [details]
patch

Patch which also fixes Bug #34451.
What side effects could it have to connect to ldap/master instead of 'localhost'?
Comment 2 Florian Best univentionstaff 2015-11-17 22:52:35 CET
univention-management-console-module-udm (6.0.11-2):
r65681 | Bug #39675: adapt license import to work with SAML login

2015-11-17-univention-management-console-module-udm.yaml:
r65683 | YMAL Bug #39675 Bug #39146
Comment 3 Florian Best univentionstaff 2015-11-17 22:53:01 CET
*** Bug 34451 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Gohmann univentionstaff 2015-12-08 06:48:39 CET
Tests: OK (Master + Backup)

Code review: OK

YAML: OK
Comment 5 Janek Walkenhorst univentionstaff 2015-12-09 16:45:47 CET
<http://errata.software-univention.de/ucs/4.1/17.html>