Bug #890: only one user per process in libpq with krb5 auth

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #890: only one user per process in libpq with krb5 auth
Дата
Msg-id 20030204064839.0C042476581@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #890: only one user per process in libpq with krb5 auth  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Ed Schaller (schallee@darkmist.net) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
only one user per process in libpq with krb5 auth

Long Description
Most of the kerberos authentication information used to authenticate a connection to the server with libpq is stored in
globalvariables. This has the result that only one user&passwd can be used per process. 

Although this doesn't seem like a big issue on the surface, it makes things like mod_perl/mod_php + mod_auth_kerb
mostlyuseless unless you only have one user. It also can lead to some very odd bugs. 

I'm afraid I didn't follow this through like I should as this was origionally discussed on pgsql-intefaces last May.
Thepatch from them still applies fine though. 

Sample Code
The patch can be found at:

http://www.darkmist.net/~schallee/tmp/pgsql-libpq-kerb.patch

The authentication code in libpq is rather cludgy in general and this patch doesn't help the situation. If I get board
Imay try to rewrite it. 

No file was uploaded with this report

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Problem when adding an existing primary key
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #891: CAP letters