The thing is, even with the sssd error in the output, passwd is doing what it claims it's doing.
Locking: root@r-sssd-passwd:~# grep ^ubuntu /etc/shadow ubuntu:$y$j9T$u.R51MD32VBj0ejFPBqy9.$y4qCuiVoZDqPZXGlMFZ0rQijYHWDOSiNt8KzdMqjaQD:20739:0:99999:7::: root@r-sssd-passwd:~# passwd -l ubuntu [sss_cache] [sss_tool_confdb_init] (0x0010): Can't access '/var/lib/sss/db/config.ldb', probably SSSD isn't configured Can't find configuration db, was SSSD configured and run? [sss_cache] [sss_tool_confdb_init] (0x0010): Can't access '/var/lib/sss/db/config.ldb', probably SSSD isn't configured Can't find configuration db, was SSSD configured and run? passwd: password changed. root@r-sssd-passwd:~# grep ^ubuntu /etc/shadow ubuntu:!$y$j9T$u.R51MD32VBj0ejFPBqy9.$y4qCuiVoZDqPZXGlMFZ0rQijYHWDOSiNt8KzdMqjaQD:20739:0:99999:7::: See the hash has a "!" prepended to it, so the locking worked, despite the sssd errors. Now unlocking (-u) It's locked (! in front): root@r-sssd-passwd:~# grep ^ubuntu /etc/shadow ubuntu:!$y$j9T$u.R51MD32VBj0ejFPBqy9.$y4qCuiVoZDqPZXGlMFZ0rQijYHWDOSiNt8KzdMqjaQD:20739:0:99999:7::: root@r-sssd-passwd:~# passwd -u ubuntu [sss_cache] [sss_tool_confdb_init] (0x0010): Can't access '/var/lib/sss/db/config.ldb', probably SSSD isn't configured Can't find configuration db, was SSSD configured and run? [sss_cache] [sss_tool_confdb_init] (0x0010): Can't access '/var/lib/sss/db/config.ldb', probably SSSD isn't configured Can't find configuration db, was SSSD configured and run? passwd: password changed. # no more "!" in front, so it's unlocked: root@r-sssd-passwd:~# grep ^ubuntu /etc/shadow ubuntu:$y$j9T$u.R51MD32VBj0ejFPBqy9.$y4qCuiVoZDqPZXGlMFZ0rQijYHWDOSiNt8KzdMqjaQD:20739:0:99999:7::: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2153951 Title: no config.ldb file under /var/lib/sss/db in 26.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/2153951/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
