From: Shane Ambler <pgsql@Sheeky.Biz>
To: Simone Gadenz <s.gadenz@geologyx.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: Connecting from xp to linux server
Date: Tue, 10 Jun 2008 10:14:53 +0930
Message-ID: <484DCE85.5080800@Sheeky.Biz> (raw)
In-Reply-To: <484D9D62.8050705@geologyx.it>
References: <484D11CC.3050806@geologyx.it>
<484D4097.4070807@Sheeky.Biz>
<484D9D62.8050705@geologyx.it>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: pgsql@Sheeky.Biz, s.gadenz@geologyx.it
Subject: Re: Connecting from xp to linux server
In-Reply-To: <484DCE85.5080800@Sheeky.Biz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox