Problems to join Debian/Ubuntu machines to a domain
Is not posible to join Debian/Ubuntu machines to a domain based on Windows Server 2025 (using realm at least) this is the error:
! Couldn’t set password for computer account: XXXX$: Message stream modified
adcli: joining domain c2electronics.local failed: Couldn’t set password for computer account: XXXX$: Message stream modified
! Failed to join the domain
realm: Couldn’t join realm: Failed to join the domain
Domain is discoverable vía realm:
root@lnms01:/home/administrator# realm discover xxxx.local
xxxx.local
type: kerberos
realm-name: XXXX.LOCAL
domain-name: xxxx.local
configured: no
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
Tested on WS2025 build 26227 and Linux 6.1.0-21-amd64 x86_64, Linux 6.6.31+rpt-rpi-v8 aarch64 and Linux 6.8.0-31-generic x86_64.
Those 3 versions of Linux joined to another doman based con Windows Server 2022 without issues.
Is not posible to join Debian/Ubuntu machines to a domain based on Windows Server 2025 (using realm at least) this is the error: ! Couldn’t set password for computer account: XXXX$: Message stream modifiedadcli: joining domain c2electronics.local failed: Couldn’t set password for computer account: XXXX$: Message stream modified! Failed to join the domainrealm: Couldn’t join realm: Failed to join the domain Domain is discoverable vía realm:root@lnms01:/home/administrator# realm discover xxxx.localxxxx.localtype: kerberosrealm-name: XXXX.LOCALdomain-name: xxxx.localconfigured: noserver-software: active-directoryclient-software: sssdrequired-package: sssd-toolsrequired-package: sssdrequired-package: libnss-sss Tested on WS2025 build 26227 and Linux 6.1.0-21-amd64 x86_64, Linux 6.6.31+rpt-rpi-v8 aarch64 and Linux 6.8.0-31-generic x86_64. Those 3 versions of Linux joined to another doman based con Windows Server 2022 without issues. Read More