Hallo Jan,
I’ve two debian servers in my ucs domain. I was following the bash-scripts from https://docs.software-univention.de/domain-4.3.html#ext-dom-ubuntu by the book - taking the first chapter. There are 7 grey blocks I’ve copied to 7 .sh - files, made them executable.
In the first one you have to change the IP address to your ucs-master IP.
And in the second one I’ve changed the section # Create account and save the password. Here it depends whether you have already created an account on your ucs-server or not. If the server is already registered as a linux computer you will have something like:
# Create an account and save the password
password="$(tr -dc A-Za-z0-9_ </dev/urandom | head -c20)"
ssh -n root@${ldap_master} udm computers/linux modify \
--dn "cn=your-debian-hostname,cn=computers,${ldap_base}" \
--position "cn=computers,${ldap_base}" \
--set password="${password}" \
--set operatingSystem="$(lsb_release -is)" \
--set operatingSystemVersion="$(lsb_release -rs)"
printf '%s' "$password" >/etc/ldap.secret
chmod 0400 /etc/ldap.secret
If you don’t have the account you will just change from udm computers/ubuntu create to udm computers/linux create.
That’s about it. Make the files, modifiy the first two, chmod +x and run them. Your debian server is part of the domain and you can login with the users from the domain. (probably you won’t need file number 6 if you haven’t installed a desktop)
Best,
Bernd