X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A76A7474E53 for ; Sun, 16 Feb 2003 22:20:08 -0500 (EST) Received: from mpls-qmqp-01.inet.qwest.net (mpls-qmqp-01.inet.qwest.net [63.231.195.112]) by postgresql.org (Postfix) with SMTP id C4B5B474E42 for ; Sun, 16 Feb 2003 22:20:07 -0500 (EST) Received: (qmail 43473 invoked by uid 0); 17 Feb 2003 03:20:11 -0000 Received: from unknown (63.231.195.5) by mpls-qmqp-01.inet.qwest.net with QMQP; 17 Feb 2003 03:20:11 -0000 Received: from jonesandjoneslaw.com (HELO qwest.net) (63.231.17.185) by mpls-pop-05.inet.qwest.net with SMTP; 17 Feb 2003 03:20:11 -0000 Date: Sun, 16 Feb 2003 15:06:40 -0800 Message-ID: <3E501980.4020605@qwest.net> From: "Randolph Jones" To: pgsql-admin@postgresql.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 Subject: md5 authentication fails Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/259 X-Sequence-Number: 7457 I have pg 7.3.2 running on rh8 2.4.19. I have pg_hba.conf with line host testt user xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx md5 I can log on as user thru psql -h xxx.xxx.xxx.xxx testt pgsql asks for password, allows logon to testt I have a java program using user password that gets authentication failed for user user error username and passwd are the same as used in psql on another machine the java program works ok something is not set up right on the box that is failing I set up the good box by trial and error, hacking/stumbling around until something worked, then stagger on to the next debacle no clue to what the difference might be Any suggestions greatly appreciated TIA rfjones