Re: Unable to fire up the server when modifying client authentication setting!

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Unable to fire up the server when modifying client authentication setting!
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17C601E5@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Unable to fire up the server when modifying client authentication setting!  ("Verhaag Geert (GEN)" <g.verhaag@maastrichtuniversity.nl>)
Ответы Re: Unable to fire up the server when modifying client authentication setting!  ("Verhaag Geert (GEN)" <g.verhaag@maastrichtuniversity.nl>)
Список pgsql-admin
Verhaag Geert wrote:
> I’m currently using version 8.4, and installed everything seems to work properly.
> 
> However, I’m having trouble with setting client authentication properly!
> 
> Client authentication is controlled by the configuration file named pg_hba.conf.
> 
> When I add the option map=myname  like this:
> 
> local   all         all                               trust    map=myname
> 
> to the file mentioned above the server won’t fire up anymore! No messages in the log?
> 
> By the way I added myname to the pg_ident.conf file like:
> 
> # MAPNAME     SYSTEM-USERNAME    PG-USERNAME
> myname             systemusername          pgusername
> 
> What is wrong here?

I guess you want "ident" authentication.
You should replace "trust" with "ident".

By the way, you don't need to restart the server for such a change.
Using "pg_ctl reload" to send a SIGHUP would do the trick.

Yours,
Laurenz Albe

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

Предыдущее
От: "Verhaag Geert (GEN)"
Дата:
Сообщение: Unable to fire up the server when modifying client authentication setting!
Следующее
От: "Verhaag Geert (GEN)"
Дата:
Сообщение: Re: Unable to fire up the server when modifying client authentication setting!