Upgrade from Samba 4.13 to 4.15 results in "dlopen(pam_winbind.so): /lib/security/pam_winbind.so: cannot open shared object file: No such file or directory"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Critical
|
Unassigned |
Bug Description
On Ubuntu 20.04 I was previously running Samba 2:4.13.
PAM unable to dlopen(
PAM adding faulty module: pam_winbind.so
The PAM configuration is as follows:
/etc/nsswitch.conf:
passwd: files winbind
shadow: files winbind
group: files winbind
/etc/pam.d files configured with "pam-auth-update --force" and selecting winbind as one of the enabled options.
Creating a symlink at /lib/security/
This appears to be the same issue described in #1644428 and #1584485. As reported in those tickets, the upstream fix was introduced in 4.16 so it seems that 4.15 is unusable with this patch applied.
description: | updated |
description: | updated |
tags: | added: regression-update |
Changed in samba (Ubuntu Focal): | |
importance: | Undecided → Critical |
information type: | Public → Public Security |
Unfortunately, pam_winbind doesn't gracefully handle version upgrades properly. All processes using pam most likely need to be restarted to load the new libraries. Was that server rebooted after being updated to the new version?