Received: from equerry.slideswipe.com (H87.C195.tor.velocet.net [216.138.195.87]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f55FYAE60285 for ; Tue, 5 Jun 2001 11:34:10 -0400 (EDT) (envelope-from paulhart@io.com) Received: from achilles (host9.maclaren.com [204.225.62.9] (may be forged)) by equerry.slideswipe.com (8.11.3/8.10.1) with SMTP id f55FXTR12409 for ; Tue, 5 Jun 2001 11:33:29 -0400 (EDT) From: "Paul Hart" To: Subject: Password authentication failure Date: Tue, 5 Jun 2001 15:33:16 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Archive-Number: 200106/6 X-Sequence-Number: 746 Hi all, I'm currently running 7.1.2 on OpenBSD 2.9-current. I am attempting to connect to a database over IP, so I have the following 'start' command in my /etc/rc.local: su postgres -c '/usr/local/pgsql/bin/pg_ctl -o "-i" -D /web/databases -l \ /web/databases/logfile.log start > /dev/null' Also, I have the following in my /web/databases/pg_hba.conf ('/web/databases' is set up as $PGDATA): host all xxx.xxx.xx.0 255.255.255.0 crypt passwd (obviously, the 'xxx.xxx.xx.0' is my host set.) I have also created the file /web/databases/passwd which contains the username/password pair I wish to use to connect to the database. So, after all this, I have a jdbc connection URL of: jdbc:postgresql://[my host]/[my db] (as per the spec) I also pass in the username and password that I set up using pg_passwd. Of course, if it worked, I wouldn't have just written all of that :) The JDBC driver claims "Password authentication failed for user 'XXXX'" So, does anyone have any ideas? Many Thanks, Paul Hart