Hello everyone,
I’d like to confirm the problems first described by @His.Dudeness on 01.01.2025 in https://forums.opensuse.org/t/tumbleweed-wont-boot-after-windows-domain-join/181510/6. Unfortunately, his issue has remained unresolved (at least to my knowledge). Joining a Microsoft AD domain using YAST2s “Windows domain membership” option seems to completely break the install. I have tried multiple clean installs of openSUSE Tumbleweed Snapshot 20250304 on a Lenovo ThinkaPad X13 and was able to replicate this issue each and every time. Joining the domain prevents the user from rebooting from the GUI, only sudo reboot
seems to do the trick. During the reboot openSUSE gets stuck at the plymouth bootscreen with an error message saying something along the lines of “start job is running for create static device nodes in dev gracefully”. I suspected the full disk encryption to be part of the problem, but the boot process failed even without LUKS enabled. Instead multiple different error messages got displayed, that i unfortunatley cannot recall anymore. Applying changes to /etc/nsswitch.conf
in a recovery environment as described in https://forums.opensuse.org/t/boot-failure-failed-to-start-create-static-device-nodes-in-dev/178966/7 returned the system to a bootable state.
After some more tinkering I followed the steps described in https://doc.opensuse.org/documentation/leap/security/html/book-security/cha-security-ad.html#sec-security-ad-sssd, but using YAST2s “User logon management” option only results in a bug, that got first described in 2022 (https://forums.opensuse.org/t/user-logon-blank-workgroup/142279/24)… As far as I know, it should not be necessary to create an empty forward lookup zone for the .local domain. I’ve connected many different Linux clients to multiple ad domains over the years and have never needed this option.
After several attempts, I decided to do another clean install and fallback to manually installing the necessary software (realmd, sssd, adcli). Had to edit some config files, but ended up with a reasonably functional ad join within minutes (system boots and allows me to log in with my ad credentials). I feel like this should be the expected behaviour of both YAST2 modules. Maybe I missed a point, maybe the forward lookup zone for .local should be there by default, or maybe YAST2 could use some tweaking in this regard. I’m open to any feedback, maybe we can find a solution so that any enterprise customer who want to give openSUSE a try can easily join their machines in their domain.
Best regards
Sebastian