Bug 57103 - Ubuntu 20.04 / 22.04 Join on UCS Primary in AD Member Mode not possible
Ubuntu 20.04 / 22.04 Join on UCS Primary in AD Member Mode not possible
Status: NEW
Product: UCS
Classification: Unclassified
Component: Univention Domain Join (Ubuntu)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-03-01 14:37 CET by Fabian Schneider
Modified: 2024-03-18 08:31 CET (History)
2 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?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?: Yes
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2024022921000082
Bug group (optional):
Max CVSS v3 score:
fabian.schneider: Patch_Available-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Schneider univentionstaff 2024-03-01 14:37:14 CET
UCS offer script to automatically join Ubuntu Clients to existing UCS Domains:
https://github.com/univention/univention-domain-join

Since Ubuntu 20.04 the script uses ldapwhoami in order to detect the full dn of the Join-User:
https://github.com/univention/univention-domain-join/blob/ubuntu20.04/univention_domain_join/join_steps/ldap_configurator.py#L140

This does not work on Univention Primary Servers, that are in AD Member Mode with the following error message:

$ ldapwhoami -QY GSSAPI
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure (see text) (Matching credential (ldap/ucs-admem.example-ad.org@EXAMPLE-AD.ORG) not found)