realbasic-nug
[Top] [All Lists]

Re: PostgreSQLDatabase Connections

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: PostgreSQLDatabase Connections
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Wed, 30 Apr 2008 11:33:11 -0600
Authentication-results: mx.google.com; spf=pass (google.com: domain of realbasic-nug-bounces at lists dot realsoftware dot com designates 66.116.103.65 as permitted sender) smtp dot mail=realbasic-nug-bounces at lists dot realsoftware dot com
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <8259D3C7-7012-44FF-8D71-FC9FE80003D9 at no-no-badpuppy dot com> <082046DE-73EF-4340-8A3F-361B9B037AA9 at great-white-software dot com> <FE9621B0-4996-43A4-A8DB-ED8B3A6DC0C8 at no-no-badpuppy dot com> <AD99CBA6-F434-4283-ACAC-2BE547C39AE5 at no-no-badpuppy dot com> <96628705-DD4B-4764-BF63-C787625EBB72 at great-white-software dot com> <E0FF2699-A915-4F51-BABE-F3A6143F9177 at no-no-badpuppy dot com> <70DF7608-07FA-481E-91FA-6C30DBA48604 at great-white-software dot com> <4841DD40-22DC-47CC-B8E1-1855E0C8C0D3 at no-no-badpuppy dot com>
On 30-Apr-08, at 11:06 AM, Robert Lawrence wrote:

> As this is a test box, my pg_hba is as follows:
>
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>
> # "local" is for Unix domain socket connections only
> local   all         all                               trust
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          trust
> # IPv6 local connections:
> host    all         all         ::1/128               trust
>
>
> Basically allows anything from my local development computer but no
> outside connections.

When I changed trust to password and altered the role to have a  
password then things worked as expected

But with the "trust" setting I'd get connected to the database with  
the users name

Still seems wrong
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>