Score:0

Error: "System error" when joining server to Active Directory with SSSD

in flag

I am trying to join an Ubuntu 20.04LTS server to an Active Directory using the instructions found here. Everything goes well until I get to test the login in this section:

Finally, how about we try a login:

root@ubuntu-server:~# sudo login
ubuntu-server login: testuser@domain.com
Password:

System error

Here is the content of my /etc/sssd/sssd.conf file:

[sssd]
domains = domain.com
config_file_version = 2
services = nss, pam

[domain/domain.com]
default_shell = /bin/bash
krb5_store_password_if_offline = True
cache_credentials = True
krb5_realm = DOMAIN.COM
realm_tags = manages-system joined-with-adcli
id_provider = ad
fallback_homedir = /home/%u@%d
ad_domain = domain.com
use_fully_qualified_names = True
ldap_id_mapping = True
access_provider = ad
krb5_validate = False

I think this is related to PAM, but I am not sure how to troubleshoot it. I have been googling for hours and have not come up with a working solution. Any help is much appreciated.

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.