pg_hba.conf and password files

Поиск
Список
Период
Сортировка
От Markus Wagner
Тема pg_hba.conf and password files
Дата
Msg-id 01080711260900.11458@jumbo
обсуждение исходный текст
Ответы Re: pg_hba.conf and password files  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: RE: ODBC driver installation error
Следующее
От: Gary Stainburn
Дата:
Сообщение: Re: pg_hba.conf and password files