Public bug reported:

Binary package hint: vmware-server

(tested using 1.0.4-1feisty1)

I am completely unable to authenticate to vmware-server using the
default PAM configuration shipped with it.  /var/log/auth.log shows:

Nov 15 16:10:41 norman vmware-authd[7251]: PAM unable to 
dlopen(/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix2.so)
Nov 15 16:10:41 norman vmware-authd[7251]: PAM [dlerror: 
/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix2.so: cannot open 
shared object file: No such file or directory]
Nov 15 16:10:41 norman vmware-authd[7251]: PAM adding faulty module: 
/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix2.so
Nov 15 16:10:41 norman vmware-authd[7251]: PAM unable to 
dlopen(/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_auth.so)
Nov 15 16:10:41 norman vmware-authd[7251]: PAM [dlerror: 
/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_auth.so: symbol 
pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with 
link time reference]
Nov 15 16:10:41 norman vmware-authd[7251]: PAM adding faulty module: 
/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_auth.so
Nov 15 16:10:41 norman vmware-authd[7251]: PAM unable to 
dlopen(/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_acct.so)
Nov 15 16:10:41 norman vmware-authd[7251]: PAM [dlerror: 
/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_acct.so: symbol 
pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with 
link time reference]
Nov 15 16:10:41 norman vmware-authd[7251]: PAM adding faulty module: 
/usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_acct.so

Indeed, the specified pam_unix2.so does not exist, so I do not see how
this could possibly work.  Also, the linker errors seem to indicate that
it's trying to use modules from the wrong version of PAM (looks like
it's using the system libpam, but hardcoded module paths for the PAM
shipped with vmware).

I can fix this by replacing /etc/pam.d/vmware-server with the following:

#%PAM-1.0

@include common-auth
@include common-account

** Affects: vmware-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Remote authentication fails due to bogus PAM configuration
https://bugs.launchpad.net/bugs/162907
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to