]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Map certain PAM errors to VGAUTH_E_AUTHENTICATION_DENIED.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:28 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:28 +0000 (11:23 -0700)
commit181f8877e93ec215cfb24a2c23041371e5e5da89
treee0f1bd7edf35198ea67baa4dd3595c014fa072ed
parent025158629d36851a1a190abd3427747e41842aa2
Map certain PAM errors to VGAUTH_E_AUTHENTICATION_DENIED.

VGAuth maps most PAM errors to VGAUTH_E_FAIL.  As a result,
some authentication failures result in error messages reporting
general failure rather than authentication failure.   To
provide more useful error reporting, this change maps most
PAM errors to VGAUTH_E_AUTHENTICATION_DENIED instead.
open-vm-tools/vgauth/lib/authPosix.c