pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raymond O'Donnell <rod@iol.ie>
To: Steve.Toutant@inspq.qc.ca
Cc: pgsql-odbc@postgresql.org
Subject: Re: odbc access and pg_hba.conf
Date: Thu, 19 Nov 2009 18:50:12 +0000
Message-ID: <4B059364.7040806@iol.ie> (raw)
In-Reply-To: <OF895CD9CA.68365CC3-ON85257673.00647E8D-85257673.006536C3@ssss.gouv.qc.ca>
References: <OF895CD9CA.68365CC3-ON85257673.00647E8D-85257673.006536C3@ssss.gouv.qc.ca>

On 19/11/2009 18:25, Steve.Toutant@inspq.qc.ca wrote:

> I installed the odbc driver (psqlodbc v08_03_0400) on a computer. I 
> configured the odbc connection and the connection test was succesfull.
> That surprised me since this computer is not yet in my pg_hba.conf
> 
> Is the odbc driver supposed to "bypass" the pg_hba.conf?

No, not at all - ODBC is client-side, while the pg_hba.conf file is
server-side.

> I don't know much about the admin side of postgres. I don't know which 
> information could be useful to you.
> Please ask for any information that would help
> 
> Here is the content of my pg_hba.conf
> host    all     dba     xxx.xxx.xxx.xxx 255.255.255.0   md5
> host    all     dba     yyy.yyy.yyy.yyy 255.255.254.0   md5

Are you sure that (a) the client machine's IP address doesn't match
these rules, and (b) there isn't another rule elsewhere in the file that
grants it access? Check also that the user as which you're connecting is
what you expect.

I know these are obvious things, but without further details it's hard
to tell what the problem is.

Ray.


-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie



view thread (12+ messages)  latest in thread

Message-ID: <4B059364.7040806@iol.ie>
Permalink:  ../4B059364.7040806@iol.ie/
Also on:    postgresql.org/message-id/4B059364.7040806@iol.ie

 · 

reply

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-odbc@postgresql.org
  Cc: rod@iol.ie, Steve.Toutant@inspq.qc.ca
  Subject: Re: odbc access and pg_hba.conf
  In-Reply-To: <4B059364.7040806@iol.ie>
  References: <OF895CD9CA.68365CC3-ON85257673.00647E8D-85257673.006536C3@ssss.gouv.qc.ca> <4B059364.7040806@iol.ie>

* 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