Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2 |
Дата | |
Msg-id | 200510152128.j9FLSR729711@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2 (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-patches |
Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > Magnus Hagander wrote: > >> This is not correct. > >> The default is *not* "localhost". It's the "local host name". As in > >> what's returned by gethostname(). > > > Ah, local host name, not localhost. Poor wording. Text updated: > > > If not set, the default is the server hostname. See <xref > > linkend="kerberos-auth"> for details. This parameter can only be set at > > server start. > > The code patch also assumed that "localhost" is a valid way to describe > the default; you have to do something about that too. OK, I changed it to "server hostname". Is there a cleaner way to do it? I don't see us printing the server name anywhere in the our code. I don't see us calling gethostname() anywhere in our code. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления: