Score:0

Ubuntu Server Domain Join via realmd/sssd DC Windows Server 2022 Insider/Preview

US flag
user1654098

I want to join an Ubuntu Server via realmd/sssd into a MS Windows Active Directory domain. The domain controller is a Windows Server 2022 Insider. All packages are installed and configured as far as I know.

The DC and the domain can be resolved and "realm discover" also gives me a reasonable output. With "realm join" I get this error message

adcli: joining domain ad.domain.com failed: Couldn't set password for computer account: Ubuntu$: Message stream modified

In the meantime, I have tried several things:

  1. DC windows server 2022 without insider/preview → domain join works without problems
  2. "realm join" with the option "--membership-software=samba" →
Password for [DOMAIN\Administrator]:gensec_gse_unwrap: GSS UnWrap failed: A token was invalid: unknown mech-code 0 for mech 1 2 840 113554 1 2 2
Failed to join domain: Failed to set machine spn: Time limit exceeded
Do you have sufficient permissions to create machine accounts?
  1. I get the same errors with a Debian server → was to be expected
  2. set up a Fedora server. with "realm join --membership-software=samba" → domain join works without problems

All systems are installed as server, core, minimal, etc (without desktop / GUI) and updated to the current time. What else can I try, or can someone explain this behavior to me?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.