Fix for password authentication does not work in certain cases
authorMuhammad Usama <m.usama@gmail.com>
Sun, 18 Aug 2019 11:29:39 +0000 (16:29 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Sun, 18 Aug 2019 11:29:39 +0000 (16:29 +0500)
commit109afc24993bcf56cb3bed419eae6f331e0abbfa
tree6f97bac4e93f56c036104109459347864fb3a7c4
parent249f5b3c2635065b407c05fb22ac478492afd34a
Fix for password authentication does not work in certain cases

Pgpool-II was only trying to get the password from the pool_passwd file when
backends were configured to use password authentication.  And when the password
is not present in the pool_passwd file it was failing without trying to get the
password from the user even when clear text authentication was allowed on
frontend connections.

The fix is to use clear text password authentication with frontend to get the
user password (If it is allowed by the configuration) when the password for the
connecting user is not found in the pool_passwd file.

The issue was reported by "Tatsuo Ishii<ishii@sraoss.co.jp>"
src/auth/pool_auth.c