Re: Kerberos authentication, Active Directory, and PostgreSQL

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Kerberos authentication, Active Directory, and PostgreSQL
Дата
Msg-id 4AD5CD78.8070307@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Kerberos authentication, Active Directory, and PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Kerberos authentication, Active Directory, and PostgreSQL  ("Turner, Ian" <Ian.Turner@deshaw.com>)
Список pgsql-bugs
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> A small wish in case we go with this: The constant should be named
>> something like PG_...; otherwise it looks like we are defining or
>> overriding an official symbol from the GSS API.
>
> I'd be inclined to just s/2000/32767/ and not bother with a symbol,
> misleadingly named or otherwise.  If the value were actually being
> used in more than one place, it'd be a different story, but to be
> so used it would likely need a completely different name.

It is used in two places in that file: pg_GSS_recvauth() and
pg_SSPI_recvauth(). (the original patch neglected SSPI)

I'll rename it to PG_MAX_AUTH_TOKEN_LENGTH, unless someone has a better
suggestion.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: BUG #5107: Lock never released
Следующее
От: Sean Hsien
Дата:
Сообщение: issue with integer nullable column and value 0