Score:1

Ubuntu 20.04 LTS sssd update from 2.2.3-3ubuntu0.4 to 2.2.3-3ubuntu0.6 broke AD logins

in flag

I have a number of servers running Ubuntu 20.04 LTS joined to Windows Active Directory via this procedure - https://www.server-world.info/en/note?os=Ubuntu_20.04&p=realmd

Over this weekend, I ran a round of updates that included upgrading the sssd package from version 2.2.3-3ubuntu0.4 to 2.2.3-3ubuntu0.6, and after that update, none of the AD users were able to log on. The following was recorded on /var/log/auth.log:

Jul 18 05:43:00 server sshd[88633]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.187.1  user=aduser
Jul 18 05:43:00 server sshd[88633]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.187.1 user=aduser
Jul 18 05:43:00 server sshd[88633]: pam_sss(sshd:account): Access denied for user aduser: 6 (Permission denied)
Jul 18 05:43:00 server sshd[88633]: Failed password for aduser from 192.168.187.1 port 53472 ssh2
Jul 18 05:43:00 server sshd[88633]: fatal: Access denied for user aduser by PAM account configuration [preauth]

Downgrading the whole suite to version 2.2.3-3ubuntu0.1 (2.2.3-3ubuntu0.4 was not available) resolved the problem for the meanwhile, but I'm fairly certain that it will come back if I don't do something about it. Where should I look to determine the root cause of these PAM failures?

Edit: Found this - https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1934997 - the referenced workaround (ad_gpo_access_control = permissive in /etc/sssd/sssd.conf) resolves the problem.

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.