Re: libpq and auth type - Mailing list pgsql-interfaces

From Ludek Finstrle
Subject Re: libpq and auth type
Date
Msg-id 20060111105020.GA11904@soptik.pzkagis.cz
Whole thread Raw
In response to libpq and auth type  (Ludek Finstrle <luf@pzkagis.cz>)
Responses Re: libpq and auth type  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
>   I'm unable to find it in docs. Is there a way in libpq to determine
> which authentication method will use PgSQL server?
>   I ask becouse I think about improvement in ODBC connection.
> Magnus point to bug with kerberos auth so we need remove username
> checking. But it breaks another auth methods ...

Is it so stupid question? I can't find it in mail list archive.
Maybe I put wrong words.

When ODBC connect to backend with special parameter it needs to
popup dialog (on windows) to enter (unspecified) username, password,
etc which is needed by backend to authenticate.
But this is againist kerberos (and maybe trust) authentication.

Must I connect to backend myself (not using libpq)? Could you point me
to corresponding libpq code from which I can learn it?

Thanks,

Luf


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: Detecting postgres servers
Next
From: Tom Lane
Date:
Subject: Re: libpq and auth type