pg_hba.conf and password files - Mailing list pgsql-interfaces

From Markus Wagner
Subject pg_hba.conf and password files
Date
Msg-id 01080711260900.11458@jumbo
Whole thread Raw
Responses Re: pg_hba.conf and password files  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Dave Page
Date:
Subject: RE: ODBC driver installation error
Next
From: Gary Stainburn
Date:
Subject: Re: pg_hba.conf and password files