Public bug reported:

I always join our computers into AD with realm but starting with Ubuntu
19.10 (realmd 0.16.3-3) join fails with

 See: journalctl REALMD_OPERATION=r495.6222
 realm: Couldn't join realm: Joining the domain DOMAIN failed

In the log I find

 Nov 22 09:38:59 HOSTNAME realmd[5933]: Failed to join domain: failed to
precreate account in ou ou=Linux-Clients,ou=Client Computer,ou=alle
Computer,dc=DOMAIN: No such object

I use the command

 realm join --user=USER --user-principal=host/HOSTNAME@DOMAIN
--computer-ou="OU=Linux-Clients,OU=Client Computer,OU=alle Computer"
--automatic-id-mapping=no --client-software=sssd --membership-
software=samba --computer-name=HOSTNAME --os-name="Ubuntu" --os-
version=19.10 DOMAIN

This was working with previous versions (up to Ubuntu 19.04).
If I remove the option --computer-ou realm join is working! So there has to be 
a new problem with setting the computer-ou. We have spaces in our ou name - 
this may be a (new) problem/bug?!
Maybe someone can test with and without spaces in computer OU?

** Affects: realmd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853572

Title:
  realm fails with option --computer-ou

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/realmd/+bug/1853572/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to