Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 50AC863294A for ; Thu, 19 Nov 2009 14:50:29 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 65666-05 for ; Thu, 19 Nov 2009 18:50:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail00.svc.cra.dublin.eircom.net (mail00.svc.cra.dublin.eircom.net [159.134.118.16]) by mail.postgresql.org (Postfix) with SMTP id 45D5363277D for ; Thu, 19 Nov 2009 14:50:17 -0400 (AST) Received: (qmail 34365 messnum 2409108 invoked from network[86.46.55.5/86-46-55-5-dynamic.b-ras3.mvw.galway.eircom.net]); 19 Nov 2009 18:50:15 -0000 Received: from 86-46-55-5-dynamic.b-ras3.mvw.galway.eircom.net (HELO ?127.0.0.1?) (86.46.55.5) by mail00.svc.cra.dublin.eircom.net (qp 34365) with SMTP; 19 Nov 2009 18:50:15 -0000 Message-ID: <4B059364.7040806@iol.ie> Date: Thu, 19 Nov 2009 18:50:12 +0000 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Steve.Toutant@inspq.qc.ca CC: pgsql-odbc@postgresql.org Subject: Re: odbc access and pg_hba.conf References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 091119-1, 19/11/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.142 tagged_above=-10 required=5 tests=AWL=0.043, BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 200911/43 X-Sequence-Number: 10092 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