Thread: postgresql 7.2.1 on Solaris 8 PAM authentication problem

postgresql 7.2.1 on Solaris 8 PAM authentication problem

From
Ian Yiu-Man Yee
Date:
Hello,

  I have a working installation (passes regression test
suite) of PostgreSQL 7.2.1 on a Solaris 8 ultrasparc
machine.  I have compiled it with the --with-pam
flag and edited pg_hba.conf to use pam authentication.

It always fails with the following error:

Password: CheckPAMAuth: pam_authenticate failed: 'Conversation failure'
FATAL 1:  PAM authentication failed for user "postgres"
DEBUG:  pq_flush: send() failed: Broken pipe


I am using GCC 2.95.3 with the Sun binutils, but have
also tried using the GNU binutils with no effect.

I have set CFLAGS for the 64-bit file offsets per
FAQ_Solaris.

I have also tried a ./configure with only the --with-pam
option to see if there was some other issue, but there
was no change.

I have other non-Sun applications such as openssh which
work fine with the Solaris PAM, so I don't believe
it is a PAM issue.

thanks,
Ian

P.S. Please cc me as I am not subscribed to the mailing list.


--
"Ian" Yiu-Man Yee
System Administrator
Maxine Goodman Levin College of Urban Affairs
http://urban.csuohio.edu/~ian/