Re: krb5 & multiple users

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ed Schaller <schallee+postgres(at)darkmist(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: krb5 & multiple users
Date: 2002-05-20 16:01:41
Message-ID: 23103.1021910501@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Ed Schaller <schallee+postgres(at)darkmist(dot)net> writes:
> The problems that I am running into is that conn is not available in
> the functions it needs to be in. For example, fe_getauthname would need
> the conn, but it is not available there, nor is it in conninfo_parse
> where it is called from. We can pass the conn in for most of these, but
> PQconndefaults doesn't have a conn at all and it calls conninfo_parse.

Hmm. Can we rearrange things so that fe_getauthname is not called till
later? I fail to see why it'd be a good idea to be sucking any kerberos
info in at all during PQconndefaults, so the above suggests to me that
we've divided up the operations wrongly.

BTW you might want to get Bear Giles involved in this, as he seems to be
thinking hard about authentication issues in libpq.

regards, tom lane

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Brian McCane 2002-05-20 16:35:07 Re: Interval to number
Previous Message Ed Schaller 2002-05-20 15:51:17 Re: krb5 & multiple users