X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 83572D1B89E for ; Fri, 15 Aug 2003 15:54:12 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 82330-06 for ; Fri, 15 Aug 2003 12:54:00 -0300 (ADT) Received: from ukmail.fame.com (fameinformation-3.dsl.easynet.co.uk [217.204.208.251]) by svr1.postgresql.org (Postfix) with ESMTP id 2DB3ED1B89D for ; Fri, 15 Aug 2003 12:53:58 -0300 (ADT) Received: from ltpharrison (dhcp-lon-43.fame.com [192.168.73.43]) by ukmail.fame.com (8.12.8/8.12.8) with SMTP id h7FFs7DU016472 (version=TLSv1/SSLv3 cipher=EXP1024-RC4-SHA bits=56 verify=NO) for ; Fri, 15 Aug 2003 16:54:11 +0100 From: "Paul Harrison" To: Subject: Host configuration Date: Fri, 15 Aug 2003 16:54:01 +0100 Message-ID: <003801c36345$728b4950$2b49a8c0@fame.com> 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 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/184 X-Sequence-Number: 9905 I am running postgress 7.2 on a solaris system and trying to connect from a windows 2000 based laptop to a database on the solaris system using an interactive sql program (from McKoi in fact). I have altered the pg_hba.conf file by appending a line to said file: TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE AUTH_ARGUMENT host all 196.45.23.27 255.255.0.0 trust This should let all other hosts connect to any database. The server was started with the -i option to allow TCP/IP connections. The logging from the server indicated a connection attempt was made but the error message was along the lines of - "No pg_hba.conf entry for host 196.45.23.27, user fdm, database mmpoint." A similar problem was found if an attempt was made to connect from another UNIX system but the connection was successful when a connection was attempeted on the local machine. I searched for any other instance of pg_hba.conf on the UNIX box, in case it was picking up a different one but there was just the single instance. My connection string from my laptop was 'java -classpath "famejdbc.jar;pgjdbc2.jar" com.datagenic.fusion.isql org.postgresql.Driver jdbc:postgresql://mambar.fame.com/mmpoint fdm fdm2' Does anyone have an idea of what I need to do?