Bug 57377 - Installing the Keycloak app after establishing an AD-Connection as member in MS AD doesn't create DNS record
Installing the Keycloak app after establishing an AD-Connection as member in ...
Status: VERIFIED FIXED
Product: UCS
Classification: Unclassified
Component: Keycloak
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Marius Meschter
Arvid Requate
:
Depends on: 57293
Blocks:
  Show dependency treegraph
 
Reported: 2024-06-05 12:12 CEST by Arvid Requate
Modified: 2024-07-04 15:33 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
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.103
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 Arvid Requate univentionstaff 2024-06-05 12:12:02 CEST
Followup of Bug #57293:

> During Keycloak installation we create the dns/host_record ucs-sso-ng.$domainname.
> In AD membermode, the AD is used as a DNS server.

We need some credentials to create the DNS record and currently the joinscript of the Keycloak app expects -dcaccount and -dcpwd to be passed (i.e. $binddn and $bindpwdfile) but in UCS, that's not passed on the Primary Directory Node. So we could adjust admember.add_host_record_in_ad() to pick up machine credentials in the ad/member=true case.

This is relevant for preparing towards the 5.2-0 update.
Comment 2 Arvid Requate univentionstaff 2024-07-04 15:33:04 CEST
Verified:
* commit for https://git.knut.univention.de/univention/components/keycloak-app/-/issues/218 fixes the issue
* Tested by using scenarios/ad-membermode/autotest-222-admember-w2k8r2-german.cfg, switching to test-appcenter and installing keycloak