From: Ben Sullins <ben.sullins@ourvacationstore.com>
To: pgsql-admin@postgresql.org
Subject: pg_hba.conf setup
Date: Thu, 29 Sep 2005 14:00:49 -0700
Message-ID: <F3129ECD03AD5741AAB6F86FC95AC748808A97@NEWMAN.iceenterprise.com> (raw)
Greetings,
I am attempting to setup a DTS package in Sql Server that will copy over
data from a Postgres database. I have followed the instructions found
here
(http://techdocs.postgresql.org/techdocs/usingpostgresqlwithdotnet.php)
but am still unable to connect. The error I receive when connecting is
"No pg_hba.conf entry for host <myipaddy>, user <myuser>, database
<mydb>".
I logged onto the linux box via ssh and edited the file by adding a line
in pg_hba.conf for my ip. I'm thinking it other lines above my new entry
could be affecting my access restrictions. Below are the lines in order
as they appear in pg_hba.conf. Any assistance will be most appreciated.
-------
local all all ident sameuser
host all all 127.0.0.1 255.255.255.255 md5
host <myuser> <mydb> <myip> 255.255.255.255 trust
-------
Thanks,
--
Ben Sullins
Enterprise Reporting Team
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ben.sullins@ourvacationstore.com
Subject: Re: pg_hba.conf setup
In-Reply-To: <F3129ECD03AD5741AAB6F86FC95AC748808A97@NEWMAN.iceenterprise.com>
References: <F3129ECD03AD5741AAB6F86FC95AC748808A97@NEWMAN.iceenterprise.com>
* 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