Removing the workaround from /etc/sssd/sssd.conf, restarting sssd, purging the cache, confirming the failure one more time:
root@sssdclient:~# vi /etc/sssd/sssd.conf
root@sssdclient:~# systemctl restart sssd
root@sssdclient:~# sssctl cache-remove -o -p -s
Creating backup of local data...
Removing cache files...
root@sssdclient:~# login <email address hidden>
Password:
System error
And now updating sssd to the version in proposed:
root@sssdclient:~# apt-cache policy sssd
sssd:
Installed: 2.2.3-3ubuntu0.9
Candidate: 2.2.3-3ubuntu0.9
Version table:
*** 2.2.3-3ubuntu0.9 500
500 http://br.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
100 /var/lib/dpkg/status
Focal verification
Reproducing the bug: br.archive. ubuntu. com/ubuntu focal-updates/main amd64 Packages br.archive. ubuntu. com/ubuntu focal-security/main amd64 Packages dpkg/status
root@sssdclient:~# apt-cache policy sssd
sssd:
Installed: 2.2.3-3ubuntu0.8
Candidate: 2.2.3-3ubuntu0.8
Version table:
*** 2.2.3-3ubuntu0.8 500
500 http://
500 http://
100 /var/lib/
Login fails: :*:906401103: 906400513: testuser: /<email address hidden>:/bin/bash
root@sssdclient:~# getent passwd <email address hidden>
<email address hidden>
root@sssdclient:~# login <email address hidden>
Password:
System error
Logs show it tried to fetch a gpo file and failed: sssd/gpo_ child.log file_to_ gpo_cache] (0x0020): smbc_getFunctio nOpen failed [2][No such file or directory] smb_operations] (0x0020): copy_smb_ file_to_ gpo_cache failed [2][No such file or directory] smb_operations failed.[2][No such file or directory].
root@sssdclient:~# cat /var/log/
(Wed Jul 6 14:07:59 2022) [gpo_child[2738]] [copy_smb_
(Wed Jul 6 14:07:59 2022) [gpo_child[2738]] [perform_
(Wed Jul 6 14:07:59 2022) [gpo_child[2738]] [main] (0x0020): perform_
(Wed Jul 6 14:07:59 2022) [gpo_child[2738]] [main] (0x0020): gpo_child failed!
Adding the "ad_gpo_ access_ control = permissive" workaround to /etc/sssd/sssd.conf and restarting makes it work:
root@sssdclient:~# login <email address hidden> @sssdclient: ~$ id <email address hidden>) gid=906400513( domain <email address hidden>) groups= 906400513( domain <email address hidden>)
Password:
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-1070-kvm x86_64)
(...)
Creating directory '/<email address hidden>'.
<email address hidden>
uid=906401103(
Removing the workaround from /etc/sssd/ sssd.conf, restarting sssd, purging the cache, confirming the failure one more time:
root@sssdclient:~# vi /etc/sssd/sssd.conf
root@sssdclient:~# systemctl restart sssd
root@sssdclient:~# sssctl cache-remove -o -p -s
Creating backup of local data...
Removing cache files...
root@sssdclient:~# login <email address hidden>
Password:
System error
And now updating sssd to the version in proposed: br.archive. ubuntu. com/ubuntu focal-proposed/main amd64 Packages dpkg/status
root@sssdclient:~# apt-cache policy sssd
sssd:
Installed: 2.2.3-3ubuntu0.9
Candidate: 2.2.3-3ubuntu0.9
Version table:
*** 2.2.3-3ubuntu0.9 500
500 http://
100 /var/lib/
Login now works without the workaround:
root@sssdclient:~# grep permissive /etc/sssd/sssd.conf
root@sssdclient:~# login <email address hidden> @sssdclient: ~$ id <email address hidden>) gid=906400513( domain <email address hidden>) groups= 906400513( domain <email address hidden>)
Password:
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-1070-kvm x86_64)
(...)
Last login: Wed Jul 6 14:10:29 UTC 2022 on pts/0
<email address hidden>
uid=906401103(
And the gpo_child.log (after bumping debug to 2 again) are silent this time.
Focal verification succeeded.