libpam-smbpass needs the /var/lib/samba directory to exist (even empty).
You can also reproduce simply by installing libpam-smbpass without installing samba...
easy fix: make libpam-smbpass depend on samba
better fix: create /var/lib/samba in samba-common.dirs and transfer purging of that directory from samba.postrm to samba-common.postrm
libpam-smbpass needs the /var/lib/samba directory to exist (even empty).
You can also reproduce simply by installing libpam-smbpass without installing samba...
easy fix: make libpam-smbpass depend on samba
better fix: create /var/lib/samba in samba-common.dirs and transfer purging of that directory from samba.postrm to samba-common.postrm