X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8A2D5475957 for ; Thu, 13 Feb 2003 10:17:10 -0500 (EST) Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by postgresql.org (Postfix) with SMTP id C98C94758E6 for ; Thu, 13 Feb 2003 10:17:09 -0500 (EST) Received: from marine.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Thu, 13 Feb 2003 15:16:52 +0000 To: pgsql-admin@postgresql.org Subject: pam 'Conversation failure' under Solaris Date: Thu, 13 Feb 2003 15:16:48 +0000 Message-ID: <6910.1045149408@cs.ucl.ac.uk> From: Tom JONES X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/205 X-Sequence-Number: 7403 Hi, I am trying to get postgres 7.3.2 to work with pam under Solaris 2.7. The only option I gave to ./configure (apart from --prefix) was --with-pam. This is the matching line from my pg_hba.conf file: host all all xxx.xx.xx.xx 255.255.255.255 pam other and here are the relevant lines from /etc/pam.conf other auth required /usr/lib/security/pam_unix.so.1 other account required /usr/lib/security/pam_unix.so.1 other session required /usr/lib/security/pam_unix.so.1 other password required /usr/lib/security/pam_unix.so.1 When I try and connect from a remote client (psql), postgres immediately logs this: LOG: CheckPAMAuth: pam_authenticate failed: 'Conversation failure' FATAL: PAM authentication failed for user "ucactgj" and syslog logs this: green postgres[21528]: pam_authenticate: error Conversation failure The client then asks for my password. When I hit return, postgres logs this: LOG: CheckPAMAuth: pam_authenticate failed: 'Authentication failed' FATAL: PAM authentication failed for user "ucactgj" and syslog logs this: green postgres[21961]: pam_authenticate: error Authentication failed When trying to connect over the unix socket on the localhost, I get similar messages, with the addition of postgres logging this (before the password is entered): LOG: pq_flush: send() failed: Broken pipe The only similar thing I can find in the archives is at this URL: http://archives.postgresql.org/pgsql-admin/2002-06/msg00110.php but that message got no reply. Does anyone actually have postgres working with pam under solaris? cheers, Tom.