Re: pg_hba.conf and password files

From: Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
To: Markus Wagner <wagner(at)imsd(dot)uni-mainz(dot)de>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pg_hba.conf and password files
Date: 2001-08-07 10:51:27
Message-ID: 01080711512704.22099@gary.ringways.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi Markus,

I can't help you with the Access problem, but I'll just mention that creating
usr.txt line that won't work, as the password needs to be encrypted. Use the
pg_passwd program to create the user details and it will encrypt it for you.

Gary

On Tuesday 07 August 2001 10:26 am, Markus Wagner wrote:
> Hi,
>
> I use a pg_hba.conf like this:
>
> local all trust
> host all 127.0.0.1 255.255.255.255 trust
> host all 134.93.64.0 255.255.255.0 password usr.txt
>
> In usr.txt I made one entry "test:test". When I connect with Access, the
> DSN dialog appears, and I enter "test" and "test" in the corresponding
> fields for username and password. The connect fails, and the postgres.log
> says: "user 'wagner' not found in password file". It seems that the
> username "test" does not make it to the backend, and my Windows username
> "wagner" is sent instead.
>
> Any hints?
>
> Thanks,
>
> Markus
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Miguel Gonzalez 2001-08-07 15:23:31 RE: pg_hba.conf and password files
Previous Message Markus Wagner 2001-08-07 09:26:09 pg_hba.conf and password files