Hi everyone,
I’m trying to join a fresh CachyOS (Arch‑based) installation to my Active Directory domain, but I keep running into problems. On other distros (Ubuntu, Fedora, RHEL) this usually takes a few minutes, but on Arch it seems much more complicated.
Here’s what I want to achieve:
-
Join the Linux machine to my AD domain
-
Use SSSD for authentication
-
Allow domain users to log in
-
Have a working
/etc/krb5.keytaband a functioning AD backend
What I’ve tried so far:
-
SSSD configuration is valid (
sssctl config-checkshows no errors) -
DNS and Kerberos work (SRV records resolve,
kinit Administratorworks) -
But SSSD backend stays offline because the machine has no host keytab
-
Arch/CachyOS does not provide
adcliorrealmdin the official repos -
Building
adcli-gitfrom AUR is difficult becausemakepkgcannot run as root and PAM/sudo were broken during testing -
Samba is installed, but I’m not sure if
net ads joinis the recommended method on Arch for SSSD setups
Main question:
What is the correct and recommended way to join an Arch‑based system to Active Directory so that SSSD can authenticate domain users?
Should I:
-
Use Samba (
net ads join) to generate the keytab? -
Install
adcli-gitfrom AUR and useadcli join? -
Manually create the keytab with
ktpasson the Windows DC? -
Or is there an official Arch method I’m missing?
Any guidance or best practices would be greatly appreciated.
Thanks!