Bug 57839 - 5.0 Backup join (91univention-saml.inst) fails if primary is 5.2
Summary: 5.0 Backup join (91univention-saml.inst) fails if primary is 5.2
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: SAML
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-9-errata
Assignee: Felix Botner
QA Contact: Marius Meschter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-08 14:21 CET by Felix Botner
Modified: 2025-01-15 14:28 CET (History)
0 users

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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2025-01-08 14:21:08 CET
If the primary is 5.2 91univention-saml.inst fails on a 5.0 backup with 

[2025-01-08 13:31:15.261390]  DEBUG at /usr/lib/univention-install/91univention-saml.inst:189:create_sso_kerberos_keytab: chmod 640 "$privateKeytab_path"
[2025-01-08 13:31:15.262219]  DEBUG at /usr/lib/univention-install/91univention-saml.inst:190:create_sso_kerberos_keytab: univention-scp $HOSTPWD "$HOSTACCOUNT@$ldap_master:$privateKeytab_path $privateKeytab_path"
Could not chdir to home directory /dev/null: Not a directory
scp: /etc/simplesamlphp.keytab: No such file or directory
[2025-01-08 13:31:15.940480]  DEBUG at /usr/lib/univention-install/91univention-saml.inst:190:create_sso_kerberos_keytab: die
Comment 1 Felix Botner univentionstaff 2025-01-08 14:22:45 CET
In this case, if the primary is 5.2, we don't even need to run 91univention-saml.inst as it just for simplesamlphp and as soon as the primary is 5.2, simplesamlphp is no longer supported.
Comment 2 Felix Botner univentionstaff 2025-01-08 18:02:04 CET
Successful build
Package: univention-saml
Version: 7.0.12-2
Branch: 5.0-0
Scope: errata5.0-9
Comment 3 Marius Meschter univentionstaff 2025-01-13 10:48:12 CET
OK: Changelog/YAML
OK: Jenkins
OK: Join 5.0-9 backup into 5.2 primary
OK: Setup 5.0-9 primary
OK: Join 5.0-9 backup into primary