Re: Mapping usernames for local/loopback connections

Поиск
Список
Период
Сортировка
От Jan Eden
Тема Re: Mapping usernames for local/loopback connections
Дата
Msg-id 9BEB5BC5-DE86-4672-9638-5D8CA4776F93@janeden.org
обсуждение исходный текст
Ответ на Re: Mapping usernames for local/loopback connections  (Jan Eden <temp@janeden.org>)
Ответы Re: Mapping usernames for local/loopback connections  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
On 02.01.2011, at 14:22, Jan Eden wrote:

>
> On 02.01.2011, at 13:03, Jasen Betts wrote:
>
>> On 2011-01-02, Jan Eden <temp@janeden.org> wrote:
>>
>>> local   all             all                                     trust map=mymap
>>> host    all             all             127.0.0.1/32            trust map=mymap
>>
>>
>> Don't use 'map=mymap' , just use 'mymap'.
>
> Thanks a lot. I already tried that, and it still does not work. Besides, the manual explicitly uses the
'option=value'syntax: 
>
> http://www.postgresql.org/docs/9.0/static/auth-pg-hba-conf.html
>
> Could there be anything else I overlooked?

Mystery solved:

2011-01-02 15:32:02 CET LOG:  authentication option "map" is only valid for authentication methods ident, krb5, gssapi,
sspiand cert 

Still, is there any way to achieve a mapping of local system accounts to db accounts while using the "trust"
authenticationmethod? 

- Jan

В списке pgsql-novice по дате отправления:

Предыдущее
От: Jan Eden
Дата:
Сообщение: Re: Mapping usernames for local/loopback connections
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Mapping usernames for local/loopback connections