I just updated my ubuntu to 8.04 and now in my auth.log i'm getting a bunch of stuff like this: Code: Apr 26 11:09:01 myserver CRON[5987]: PAM unable to dlopen(/lib/security/pam_smbpass.so) Apr 26 11:09:01 myserver CRON[5987]: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory] Apr 26 11:09:01 myserver CRON[5987]: PAM adding faulty module: /lib/security/pam_smbpass.so Apr 26 11:09:01 myserver CRON[5987]: pam_unix(cron:session): session opened for user root by (uid=0) Apr 26 11:09:01 myserver CRON[5987]: pam_unix(cron:session): session closed for user root Apr 26 11:17:01 myserver CRON[6103]: PAM unable to dlopen(/lib/security/pam_smbpass.so) Apr 26 11:17:01 myserver CRON[6103]: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory] Apr 26 11:17:01 myserver CRON[6103]: PAM adding faulty module: /lib/security/pam_smbpass.so Apr 26 11:17:01 myserver CRON[6103]: pam_unix(cron:session): session opened for user root by (uid=0) Apr 26 11:17:01 myserver CRON[6103]: pam_unix(cron:session): session closed for user root Apr 26 11:30:01 myserver CRON[6282]: PAM unable to dlopen(/lib/security/pam_smbpass.so) Apr 26 11:30:01 myserver CRON[6282]: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory] Apr 26 11:30:01 myserver CRON[6282]: PAM adding faulty module: /lib/security/pam_smbpass.so Apr 26 11:30:01 myserver CRON[6282]: pam_unix(cron:session): session opened for user root by (uid=0) Apr 26 11:30:02 myserver CRON[6282]: pam_unix(cron:session): session closed for user root Apr 26 11:39:01 myserver CRON[6403]: PAM unable to dlopen(/lib/security/pam_smbpass.so) Apr 26 11:39:01 myserver CRON[6403]: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory] Apr 26 11:39:01 myserver CRON[6403]: PAM adding faulty module: /lib/security/pam_smbpass.so Apr 26 11:39:01 myserver CRON[6403]: pam_unix(cron:session): session opened for user root by (uid=0) Apr 26 11:39:01 myserver CRON[6403]: pam_unix(cron:session): session closed for user root Apr 26 12:00:01 myserver CRON[6686]: PAM unable to dlopen(/lib/security/pam_smbpass.so) Apr 26 12:00:01 myserver CRON[6686]: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory] Apr 26 12:00:01 myserver CRON[6686]: PAM adding faulty module: /lib/security/pam_smbpass.somyserver Is that normal? How can I fix it?
This is just a shot in the dark, but maybe it's related to AppArmor? Can you switch off AppArmor and check the log again?
It is nothing to worry about. Obviously annoying, but unfortunately there isn't a fix as of yet. Its just a PAM warning about a module that isn't installed. The module is not required. If you'd like more information and to keep up to date see this launchpad link: https://bugs.launchpad.net/ubuntu/+bug/216990
I did see that bug. I just think its incredibly annoying when trying to find something in the log lol. What would happen if I just installed the module?
If you read the comments on the bug 2 solutions are given. Install the libpam-smbpass package. Code: sudo aptitude install libpam-smbpass Or comment out the lines referring to the module in two different files.
pam_smbpass.so: cannot open shared object file In /etc/pam.d/common-auth and /etc/pam.d/common-password comment out the lines that have pam_smbpass.so in them.