X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 3418A9DC865 for ; Wed, 11 Jan 2006 07:14:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48144-08 for ; Wed, 11 Jan 2006 07:14:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 2BAEF9DC993 for ; Wed, 11 Jan 2006 06:50:18 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k0BAoKXm012006 for ; Wed, 11 Jan 2006 11:50:20 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k0BAoKDS012005 for pgsql-interfaces@postgresql.org; Wed, 11 Jan 2006 11:50:20 +0100 Date: Wed, 11 Jan 2006 11:50:20 +0100 From: Ludek Finstrle To: pgsql-interfaces@postgresql.org Subject: Re: libpq and auth type Message-ID: <20060111105020.GA11904@soptik.pzkagis.cz> References: <20060108085851.GA24997@soptik.pzkagis.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060108085851.GA24997@soptik.pzkagis.cz> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.071 required=5 tests=[AWL=0.071] X-Spam-Score: 0.071 X-Spam-Level: X-Archive-Number: 200601/20 X-Sequence-Number: 5936 > 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