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