Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, kovert(at)omniscient(dot)com
Subject: Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2
Date: 2005-10-15 21:28:27
Message-ID: 200510152128.j9FLSR729711@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-10-16 00:13:32 Re: [HACKERS] roundoff problem in time datatype
Previous Message Neil Conway 2005-10-15 20:16:43 Re: Documentation typos