Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 419E72E00F4 for ; Mon, 9 Jun 2008 21:59:27 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 12441-03-6 for ; Mon, 9 Jun 2008 21:59:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by developer.postgresql.org (Postfix) with ESMTP id 79CE92E0124 for ; Mon, 9 Jun 2008 21:44:58 -0300 (ADT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnQBAKZpTUjLevdHiGdsb2JhbAAsgS6QNAEBAQ8gnXo X-IronPort-AV: E=Sophos;i="4.27,614,1204464600"; d="scan'208";a="122371406" Received: from ppp247-71.static.internode.on.net (HELO DevBox.local) ([203.122.247.71]) by ipmail01.adl6.internode.on.net with ESMTP; 10 Jun 2008 10:14:55 +0930 Message-ID: <484DCE85.5080800@Sheeky.Biz> Date: Tue, 10 Jun 2008 10:14:53 +0930 From: Shane Ambler User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Simone Gadenz CC: pgsql-admin@postgresql.org Subject: Re: Connecting from xp to linux server References: <484D11CC.3050806@geologyx.it> <484D4097.4070807@Sheeky.Biz> <484D9D62.8050705@geologyx.it> In-Reply-To: <484D9D62.8050705@geologyx.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/61 X-Sequence-Number: 29399 Simone Gadenz wrote: > Shane, > > I attached the pg_hba.conf I have on the server. I can use pgadmin3 when > I connect from the server itself, so I think the pg_hba on the server is > correct. > > From the client machine I cannot connect through pgadmin3. Is there > another way to test connection client server? Has pg a textual client to > send sql statements? > > Thanks a lot > > Simone > > # connections for all the pcs on the subnet # # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD host all all 192.168.148.0 255.255.255.0 host all all 192.168.159.0 255.255.255.0 try adding the method to the end of these lines. # METHOD can be "trust", "reject", "md5", "crypt", "password", "gss", "sspi", # "krb5", "ident", "pam" or "ldap". Note that "password" sends passwords # in clear text; "md5" is preferred since it sends encrypted passwords. -- Shane Ambler pgSQL (at) Sheeky (dot) Biz Get Sheeky @ http://Sheeky.Biz