There seems to be something CUPS-related that results in secrets.tdb corruption with "Unable to open tdb '/var/lib/samba/group_mapping.ldb'" error messages. Once corrupted, this file seems to trigger libpam-smbpass segfaults.
Following the error message lead, it might come from CUPS apparmor profile, preventing access to LDB. Bug 217787 created an abstractions/smbpass that is noticeably missing /var/lib/samba/*.ldb files:
Still struggling to reproduce this.
There seems to be something CUPS-related that results in secrets.tdb corruption with "Unable to open tdb '/var/lib/ samba/group_ mapping. ldb'" error messages. Once corrupted, this file seems to trigger libpam-smbpass segfaults.
Following the error message lead, it might come from CUPS apparmor profile, preventing access to LDB. Bug 217787 created an abstractions/ smbpass that is noticeably missing /var/lib/ samba/* .ldb files:
/var/lib/ samba/* .tdb rwk,