From rdiscua@rdscorporacion.com Tue Sep 29 19:30:40 2009 Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 9FE8A634E4C for ; Tue, 29 Sep 2009 16:30:40 -0300 (ADT) 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 35928-01 for ; Tue, 29 Sep 2009 19:30:26 +0000 (UTC) X-Greylist: delayed 00:10:25.185502 by SQLgrey-1.7.6 Received: from pro8.abac.com (pro8.abac.com [66.226.64.9]) by mail.postgresql.org (Postfix) with ESMTP id BC07F63417C for ; Tue, 29 Sep 2009 16:30:28 -0300 (ADT) Received: from rdiscuaPC ([190.107.134.202]) (authenticated bits=0) by pro8.abac.com (8.14.3/8.14.3) with ESMTP id n8TJJtuP005642 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 29 Sep 2009 12:19:59 -0700 (PDT) (envelope-from rdiscua@rdscorporacion.com) From: "Ramon Discua" To: Subject: cannot find pg_hba.conf file Date: Tue, 29 Sep 2009 13:19:33 -0600 Message-ID: <001801ca4139$c9a92fd0$5cfb8f70$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01CA4107.7F0EBFD0" X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcpBOcYrw+QTLKvySKCaTAIddamLfg== Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.109 tagged_above=-10 required=5 tests=BAYES_05=-1.11, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200910/1 X-Sequence-Number: 10026 This is a multipart message in MIME format. ------=_NextPart_000_0019_01CA4107.7F0EBFD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am new to Postgres, so if the question is to basic I apologize. I am trying to migrate from SqlBase to Postgres. I am trying to connect a windows XP station to a Postgres database on a Server machine. I installed the psqlodbc-08.04.0100-1 on the workstation and configure it with the server, database, user and password, but when I test the connection I get "FATAL: no pg_hba.conf entry for host...". However I can not find this file to add the entry. The psqlOBDC setup did not create this file. Where can I find this file in a Windows workstation , so I can add the entry and the ODBC driver can read it ? The only postgres installation done in the workstation is the ODBC driver. Can anybody help me Thanks in advance ------=_NextPart_000_0019_01CA4107.7F0EBFD0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi, I am new to = Postgres, so if the question is to basic I apologize. I am trying to migrate from = SqlBase to Postgres.

I am trying to = connect a windows XP station to a Postgres database on a Server machine. I = installed the psqlodbc-08.04.0100-1 on the workstation and configure it with the server,  database, = user and password, but when I test the connection I get "FATAL: no = pg_hba.conf entry for host...". However I can not find this file to add the = entry. The psqlOBDC setup did not create this file. Where can I find this file in a Windows workstation , so I can add the entry and the ODBC driver can = read it ?  The only postgres installation done in the workstation is the ODBC = driver.

Can anybody help = me

Thanks in = advance

 

------=_NextPart_000_0019_01CA4107.7F0EBFD0-- From rdiscua@rdscorporacion.com Tue Sep 29 19:48:23 2009 Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4D92E634901 for ; Tue, 29 Sep 2009 16:48:23 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 51976-03 for ; Tue, 29 Sep 2009 19:48:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pro8.abac.com (pro8.abac.com [66.226.64.9]) by mail.postgresql.org (Postfix) with ESMTP id 390A2632C7E for ; Tue, 29 Sep 2009 16:48:15 -0300 (ADT) Received: from rdiscuaPC ([190.107.134.202]) (authenticated bits=0) by pro8.abac.com (8.14.3/8.14.3) with ESMTP id n8TJm84a030529 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 29 Sep 2009 12:48:10 -0700 (PDT) (envelope-from rdiscua@rdscorporacion.com) From: "Ramon Discua" To: Subject: cannot find pg_hba.conf file Date: Tue, 29 Sep 2009 13:47:47 -0600 Message-ID: <003101ca413d$b95fe340$2c1fa9c0$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0032_01CA410B.6EC57340" X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcpBPbgkq4xIywt+SPi2K3sQWDC3aQ== Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.47 tagged_above=-10 required=5 tests=BAYES_05=-1.11, HTML_MESSAGE=0.001, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_SORBS_WEB=0.619 X-Spam-Level: * X-Archive-Number: 200909/32 X-Sequence-Number: 10018 This is a multipart message in MIME format. ------=_NextPart_000_0032_01CA410B.6EC57340 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am new to Postgres, so if the question is to basic I apologize. I am trying to migrate from SqlBase to Postgres. I am trying to connect a windows XP station to a Postgres database on a Server machine. I installed the psqlodbc-08.04.0100-1 on the workstation and configure it with the server, database, user and password, but when I test the connection I get "FATAL: no pg_hba.conf entry for host...". However I can not find this file to add the entry. The psqlOBDC setup did not create this file. Where can I find this file in a Windows workstation , so I can add the entry and the ODBC driver can read it ? The only postgres installation done in the workstation is the ODBC driver. Can anybody help me Thanks in advance ------=_NextPart_000_0032_01CA410B.6EC57340 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi, I am new to = Postgres, so if the question is to basic I apologize. I am trying to migrate from = SqlBase to Postgres.

I am trying to = connect a windows XP station to a Postgres database on a Server machine. I = installed the psqlodbc-08.04.0100-1 on the workstation and configure it with the server,  database, user and password, but when I test the = connection I get "FATAL: no pg_hba.conf entry for host...". However I can not = find this file to add the entry. The psqlOBDC setup did not create this file. = Where can I find this file in a Windows workstation , so I can add the entry = and the ODBC driver can read it ?  The only postgres installation done in = the workstation is the ODBC driver.

Can anybody help = me

Thanks in = advance

 

------=_NextPart_000_0032_01CA410B.6EC57340-- From richard.broersma@gmail.com Tue Sep 29 19:56:08 2009 Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 67DB2634995 for ; Tue, 29 Sep 2009 16:56:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 52850-05 for ; Tue, 29 Sep 2009 19:56:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mail.postgresql.org (Postfix) with ESMTP id 91C36634901 for ; Tue, 29 Sep 2009 16:56:00 -0300 (ADT) Received: by qw-out-2122.google.com with SMTP id 9so1691777qwb.61 for ; Tue, 29 Sep 2009 12:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Ken0zdMn7Kj0wgJIMlMONuTuoDIdEuDQ8CD935xSu3Y=; b=UCrItjimudkbBz11/kR8j+6DpoOTeyrKGCz3JuPq/K46GuI2yQwXFIj42vYBy0SZRL tWnIOMC8KTumnlItQnTHA0WpMrvjMP3Zl7ISovYqbNq3mg6zzVHobfwnZfhpQEjeEqbp peSgsUUYeFxopbpXrRZiHhRC6aOMKtoOFcdog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XhLCCTJDTlYImyK7wV1gShsjxk/QWXbo9FdHoLSCfsWAtA9fPpSmnMt49WHP4tGulu c31rsP0xPokXphOBgEWwo6sxGxTXBaYtG2e0XGrgrmBUpybdiyaWRCFjoHzF/f6uOm9v 8M+QU44eWGCfGXE3d4MHbfi3PqVTdAV+avVwg= MIME-Version: 1.0 Received: by 10.224.119.4 with SMTP id x4mr4323432qaq.304.1254254159286; Tue, 29 Sep 2009 12:55:59 -0700 (PDT) In-Reply-To: <003101ca413d$b95fe340$2c1fa9c0$@com> References: <003101ca413d$b95fe340$2c1fa9c0$@com> Date: Tue, 29 Sep 2009 12:55:59 -0700 Message-ID: <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com> Subject: Re: cannot find pg_hba.conf file From: Richard Broersma To: Ramon Discua Cc: pgsql-odbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.516 tagged_above=-10 required=5 tests=BAYES_00=-2.599, URIBL_RHS_DOB=1.083 X-Spam-Level: X-Archive-Number: 200909/33 X-Sequence-Number: 10019 On Tue, Sep 29, 2009 at 12:47 PM, Ramon Discua wrote: > but when I test > the connection I get "FATAL: no pg_hba.conf entry for host...". However I > can not find this file to add the entry. Actually this file is located on the computer that PostgreSQL is running on. The PostgreSQL server uses this file to determine it will accept connections from a client host. here is information about the file: http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html On my computer it is located here: Directory of C:\Program Files\PostgreSQL\8.4\data 07/28/2009 01:16 PM 3,425 pg_hba.conf 1 File(s) 3,425 bytes 0 Dir(s) 14,203,064,320 bytes free -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug From rdiscua@rdscorporacion.com Tue Sep 29 20:17:30 2009 Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3CCE66342C5 for ; Tue, 29 Sep 2009 17:17:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 55776-04 for ; Tue, 29 Sep 2009 20:17:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pro8.abac.com (pro8.abac.com [66.226.64.9]) by mail.postgresql.org (Postfix) with ESMTP id 54E4063309D for ; Tue, 29 Sep 2009 17:17:22 -0300 (ADT) Received: from rdiscuaPC ([190.107.134.202]) (authenticated bits=0) by pro8.abac.com (8.14.3/8.14.3) with ESMTP id n8TKHGE2054084 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 29 Sep 2009 13:17:17 -0700 (PDT) (envelope-from rdiscua@rdscorporacion.com) From: "Ramon Discua" To: "'Richard Broersma'" Cc: References: <003101ca413d$b95fe340$2c1fa9c0$@com> <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com> In-Reply-To: <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com> Subject: Re: cannot find pg_hba.conf file Date: Tue, 29 Sep 2009 14:16:54 -0600 Message-ID: <003901ca4141$caf64fa0$60e2eee0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcpBPuk3MvtbgJa/Tu+UFWUK6tzWAAAAc3uw Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.063 tagged_above=-10 required=5 tests=BAYES_00=-2.599, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_SORBS_WEB=0.619, URIBL_RHS_DOB=1.083 X-Spam-Level: * X-Archive-Number: 200909/34 X-Sequence-Number: 10020 Thanks, know I understand the entry has to be added to server side not on the client side. However this means that every time I add a user, that uses my application from a different workstation I have to add the entry to the pg_hba file on the server side? Is there a way to avoid this? Thanks for your prompt response Ramon -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Richard Broersma Sent: Tuesday, September 29, 2009 1:56 PM To: Ramon Discua Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] cannot find pg_hba.conf file On Tue, Sep 29, 2009 at 12:47 PM, Ramon Discua wrote: > but when I test > the connection I get "FATAL: no pg_hba.conf entry for host...". However I > can not find this file to add the entry. Actually this file is located on the computer that PostgreSQL is running on. The PostgreSQL server uses this file to determine it will accept connections from a client host. here is information about the file: http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html On my computer it is located here: Directory of C:\Program Files\PostgreSQL\8.4\data 07/28/2009 01:16 PM 3,425 pg_hba.conf 1 File(s) 3,425 bytes 0 Dir(s) 14,203,064,320 bytes free -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc From richard.broersma@gmail.com Tue Sep 29 20:32:16 2009 Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id DE7E9633527 for ; Tue, 29 Sep 2009 17:32:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 57431-09 for ; Tue, 29 Sep 2009 20:32:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mail.postgresql.org (Postfix) with ESMTP id B957E6322D5 for ; Tue, 29 Sep 2009 17:32:08 -0300 (ADT) Received: by qw-out-2122.google.com with SMTP id 9so1701723qwb.61 for ; Tue, 29 Sep 2009 13:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=OhrFItyzwZ2u0Gy0LPSQ7SxeCAGY4d7h05p/HpEHtO8=; b=GDZAcSL4jKYJeEsTrUalDLMM4bESTlhZ+Dm9c3dKjSBR4Np/7wQGlCd5Rg2gW9fQfp qiX6SVIaw5GbhCKUUKrjYY9sArMIBPouSp3LVG3UA/wB7uhs4kv3IvRZZTzfPlbFKAnm 7xtU38ksm8miWZ2xygliCtu3L5nyWVzwYyyck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gTeLutOIxLP9bP/8pwvra5RhbVo4vFhoUo10pBpccVKVDCQyl+kf0mqN6WGzC9l5na dU4qNJLo1d8TxUmOx+k5r0mlV5S87DDu3bUqWjJ4dqKUti8TBkM+JPoOJTvQAeWRqjHK jglxnUZyf77xcvMFhHbvQWj5uL3Rh/l8iulUI= MIME-Version: 1.0 Received: by 10.224.78.105 with SMTP id j41mr4391793qak.371.1254256327290; Tue, 29 Sep 2009 13:32:07 -0700 (PDT) In-Reply-To: <003901ca4141$caf64fa0$60e2eee0$@com> References: <003101ca413d$b95fe340$2c1fa9c0$@com> <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com> <003901ca4141$caf64fa0$60e2eee0$@com> Date: Tue, 29 Sep 2009 13:32:07 -0700 Message-ID: <396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.com> Subject: Re: cannot find pg_hba.conf file From: Richard Broersma To: Ramon Discua Cc: pgsql-odbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.516 tagged_above=-10 required=5 tests=BAYES_00=-2.599, URIBL_RHS_DOB=1.083 X-Spam-Level: X-Archive-Number: 200909/36 X-Sequence-Number: 10022 On Tue, Sep 29, 2009 at 1:16 PM, Ramon Discua wrote: > However this means that every time I add a user, that uses > my application from a different workstation I have to add the entry to the > pg_hba file on the server side? Is there a way to avoid this? Actually you don't need to put an entry for each users ip. The pg_hba.conf allows you to accept a range of IP address that your users client computers are assigned. The quickest way to properly configure your pg_hba.conf file would be to spend about ten minutes reading the online documentation: http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html Also notice the examples under Example 19-1. Example pg_hba.conf entries. Reply back with any problems that you encounter after trying some of the examples. A focused question is much more easy answer than general one. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug From rdiscua@rdscorporacion.com Tue Sep 29 20:37:10 2009 Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 1C456634B69 for ; Tue, 29 Sep 2009 17:37:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58205-06 for ; Tue, 29 Sep 2009 20:37:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pro8.abac.com (pro8.abac.com [66.226.64.9]) by mail.postgresql.org (Postfix) with ESMTP id 1930F6349BB for ; Tue, 29 Sep 2009 17:37:01 -0300 (ADT) Received: from rdiscuaPC ([190.107.134.202]) (authenticated bits=0) by pro8.abac.com (8.14.3/8.14.3) with ESMTP id n8TKa75I070550 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 29 Sep 2009 13:36:09 -0700 (PDT) (envelope-from rdiscua@rdscorporacion.com) From: "Ramon Discua" To: "'Richard Broersma'" Cc: References: <003101ca413d$b95fe340$2c1fa9c0$@com> <396486430909291255o346a051q48160a4ed46917d0@mail.gmail.com> <003901ca4141$caf64fa0$60e2eee0$@com> <396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.com> In-Reply-To: <396486430909291332m302d3e4ag7de66b1edf1bedcb@mail.gmail.com> Subject: Re: cannot find pg_hba.conf file Date: Tue, 29 Sep 2009 14:35:41 -0600 Message-ID: <003d01ca4144$6da9b320$48fd1960$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcpBQ/TZu/FbyFJNSjilIdpuCA86iQAAGQOA Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.063 tagged_above=-10 required=5 tests=BAYES_00=-2.599, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_SORBS_WEB=0.619, URIBL_RHS_DOB=1.083 X-Spam-Level: * X-Archive-Number: 200909/37 X-Sequence-Number: 10023 Again Thanks for the tip! -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Richard Broersma Sent: Tuesday, September 29, 2009 2:32 PM To: Ramon Discua Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] cannot find pg_hba.conf file On Tue, Sep 29, 2009 at 1:16 PM, Ramon Discua wrote: > However this means that every time I add a user, that uses > my application from a different workstation I have to add the entry to the > pg_hba file on the server side? Is there a way to avoid this? Actually you don't need to put an entry for each users ip. The pg_hba.conf allows you to accept a range of IP address that your users client computers are assigned. The quickest way to properly configure your pg_hba.conf file would be to spend about ten minutes reading the online documentation: http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html Also notice the examples under Example 19-1. Example pg_hba.conf entries. Reply back with any problems that you encounter after trying some of the examples. A focused question is much more easy answer than general one. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc From hmv@mail.telepac.pt Sun Oct 4 11:18:33 2009 Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B0E36633712 for ; Sun, 4 Oct 2009 08:18:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 90524-04 for ; Sun, 4 Oct 2009 11:18:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relay6.ptmail.sapo.pt (relay6.ptmail.sapo.pt [212.55.154.26]) by mail.postgresql.org (Postfix) with SMTP id 158946339AB for ; Sun, 4 Oct 2009 08:18:14 -0300 (ADT) Received: (qmail 24611 invoked from network); 4 Oct 2009 11:17:56 -0000 Received: from unknown (HELO sapo.pt) (10.134.37.162) by relay6 with SMTP; 4 Oct 2009 11:17:56 -0000 Received: (qmail 26677 invoked from network); 4 Oct 2009 11:17:56 -0000 X-AntiVirus: PTMail-AV 0.3-0.95.1 X-Scan-Status: AV clean (0.02401 seconds); AS clean (0.30204 seconds); Received: from unknown (HELO Hmv03) (hmv@[82.155.150.179]) (envelope-sender ) by mta12 (qmail-ldap-1.03) with SMTP for ; 4 Oct 2009 11:17:55 -0000 Message-ID: <52684A9924CF47EE89D84CE5C4C281D9@Hmv03> From: =?iso-8859-1?Q?H=E9lder_M._Vieira?= To: References: <001801ca4139$c9a92fd0$5cfb8f70$@com> In-Reply-To: <001801ca4139$c9a92fd0$5cfb8f70$@com> Subject: Re: cannot find pg_hba.conf file Date: Sun, 4 Oct 2009 12:17:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 x-mimeole: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.739 tagged_above=-10 required=5 tests=BAYES_20=-0.74, STOX_REPLY_TYPE=0.001 X-Spam-Level: X-Archive-Number: 200910/2 X-Sequence-Number: 10027 Hi, I am new to Postgres, so if the question is to basic I apologize. I am trying to migrate from SqlBase to Postgres. I am trying to connect a windows XP station to a Postgres database on a Server machine. >I installed the psqlodbc-08.04.0100-1 on the workstation and configure it >with the server, database, user and password, but when I test the >connection >I get "FATAL: no pg_hba.conf entry for host...". However I can not find >this >file to add the entry. The psqlOBDC setup did not create this file. Where >can >I find this file in a Windows workstation , so I can add the entry and the >ODBC >driver can read it ? You won't find it in the workstation. The ODBC driver is just showing you a message it received from the server. When the server noticed the connection attempt, it tried to check two things: - If the client IP fits into one of the IP ranges defined by the administrator as acceptable; - What kind of authentication method the administrator chose for that specific IP range. Upon installation, the pg_hba.conf file will be in the 'data' folder, and will be suitable for local connections. For remote connections, you'll have to edit it according to the rules defined in the Postgres documentation ( chapter 19.1 ). Regards, Helder M. Vieira