UDJ builds a command to join your Ubuntu client to your domain, which is then executed on your Primary. This is done via ssh
for which it needs the address of your Primary and your Administrator
credentials to do the login. The later thing we have now solved, but the command the fails for some reason. I need to see that error message to figure out, what goes wrong and why that might happen in your environment.
The command with is executed is built in line 119-126 which is something like this:
/usr/sbin/udm computers/ubuntu create \
--binddn cn=Administrator,cn=users,dc=codenauten,dc=intranet \
--bindpwdfile /SOME/PATH \
--position cn=computers,dc=codenauten,dc=intranet \
--set name=HOSTNAME \
--set password=PASSWORD \
--set operatingSystem=Ubuntu \
--set operatingSystemVersion=22.04
It can fail for multiple reasons:
- wrong admin credentials
- missing UDM module
- LDAP errors
- type error
- password policy complexity issue
- ā¦
The error message from that specific udm
command hopefully will tell us the exact problem. Its output should be in the log files named above near the end if you search for Adding an LDAP object for this computer didn't work.
If you donāt find that message you could just login to your Primary itself and then execute the command there by hand, which should then show the same error. If you later on run UDJ again it should detect that the machine account already exists and should try to modify that already existing entry.