Hi, we’re using the following scripts to join Ubuntu or RHEL clients into our UCS domain. The script is based on the scripts from the former Univention client and works in Ubuntu 22.04 LTS and 23.10.
You can find the original documentation of the script here: Univention Corporate Server
The scripts are pretty rough and you maybe need to customize them to your needs. The scripts only work for a UCS domain without a Backup DC.