error in auth.log when switch user -- pam_smbpass.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek | ||
Hardy |
Fix Released
|
Medium
|
Steve Langasek | ||
Intrepid |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
I am working on a kubuntu hardy (8.04) beta installed from scratch.
Everything work well but when I switch user (su) I see this
error in /var/log/auth.log file:
: PAM unable to dlopen(
: PAM [error: /lib/security/
No such file or directory]
: PAM adding faulty module: /lib/security/
The user switch is successfully done .
The file pam_smbpass.so is not present on my systema and i have solved the
problem installing the package: libpam-smbpass.
Maybe a missed package ?
Best Regards
TEST CASE:
monitor /var/log/auth.log. With hardy version of libpam-runtime and libpam0g installed, and libpam-smbpass not installed, run 'sudo -k' followed by 'sudo ls'. Observe that three log messages are written about libpam-smbpass. Upgrade to hardy-proposed versions of libpam-runtime and libpam0g. Run 'sudo -k', then 'sudo ls' again. Observe that there are no log messages about libpam-smbpass.
Regression potential: minimal. No modules are known to use a 'missingok' option today, so there is minimal practical risk of overlapping semantics. In particular, the smbpass module ignores this as an unknown option, so this will not negatively impact users who do have pam_smbpass installed. The maximum potential impact is that users who use 'missingok' in their PAM configs for other modules, for whatever reason, will find it more difficult to debug failures caused by the named module being missing from the system.
Changed in pam: | |
importance: | Low → Medium |
Changed in pam: | |
assignee: | nobody → vorlon |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.1 |
status: | New → Incomplete |
status: | Incomplete → In Progress |
description: | updated |
description: | updated |
Changed in pam: | |
assignee: | vorlon → irving-and |
For developers. I had the same error, also until i installed libpam-smbpass.
I don't use samba/cifs.
For the record, here is the error: /lib/security/ pam_smbpass. so) pam_smbpass. so: cannot open shared object file: No such file or directory] pam_smbpass. so sudo:session) : session opened for user root by linshine(uid=0) sudo:session) : session closed for user root /lib/security/ pam_smbpass. so) pam_smbpass. so: cannot open shared object file: No such file or directory] pam_smbpass. so
Apr 14 19:42:24 shinehard sudo: PAM unable to dlopen(
Apr 14 19:42:25 shinehard sudo: PAM [error: /lib/security/
Apr 14 19:42:25 shinehard sudo: PAM adding faulty module: /lib/security/
Apr 14 19:42:28 shinehard sudo: linshine : TTY=pts/8 ; PWD=/home/linshine ; USER=root ; COMMAND=/bin/su
Apr 14 19:42:28 shinehard sudo: pam_unix(
Apr 14 19:42:29 shinehard sudo: pam_unix(
Apr 14 19:42:29 shinehard su[9996]: PAM unable to dlopen(
Apr 14 19:42:29 shinehard su[9996]: PAM [error: /lib/security/
Apr 14 19:42:29 shinehard su[9996]: PAM adding faulty module: /lib/security/
Apr 14 19:42:29 shinehard su[9996]: Successful su for root by root
Apr 14 19:42:30 shinehard su[9472]: + pts/8 root:root