Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 51239B5DC1A for ; Thu, 22 Sep 2011 20:52:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 03023-04 for ; Thu, 22 Sep 2011 23:51:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-yi0-f46.google.com (mail-yi0-f46.google.com [209.85.218.46]) by mail.postgresql.org (Postfix) with ESMTP id 4D340B5DBE0 for ; Thu, 22 Sep 2011 20:51:58 -0300 (ADT) Received: by yib18 with SMTP id 18so2290425yib.19 for ; Thu, 22 Sep 2011 16:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ya8R8G/37fngtvy6iNpG7a+2J3c0uXKAC/hqpmk+JWM=; b=T+lGnoJquRKlkvX72/M1lhMIrwrh66B22rdGxJSZh3THqqQdzj9K1heEV5bJQGOI8S yQy4ZfH1UM9+nyp45tIM93uOsRPSYriJovJlxPslgEi0bFmupQCl9SfAYPEK9KPZkzSB lhG7AFLSt+55B6qg6Nu/TiERCP0SO5yWtV0Bo= Received: by 10.151.87.19 with SMTP id p19mr2887022ybl.78.1316735518279; Thu, 22 Sep 2011 16:51:58 -0700 (PDT) Received: from [192.168.1.140] (h65.60.131.174.dynamic.ip.windstream.net. [174.131.60.65]) by mx.google.com with ESMTPS id s15sm15248003anl.8.2011.09.22.16.51.56 (version=SSLv3 cipher=OTHER); Thu, 22 Sep 2011 16:51:57 -0700 (PDT) Message-ID: <4E7BCA1B.2040408@patgarner.com> Date: Thu, 22 Sep 2011 19:51:55 -0400 From: Patrick Garner User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Question about GSSAPI References: <4E7A97DF.5010702@patgarner.com> <4E7B221D.3000804@zvelo.com> In-Reply-To: <4E7B221D.3000804@zvelo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.889 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201109/164 X-Sequence-Number: 38401 Chris, Here is what I installed. postgresql91-9.1.0-2PGDG.f15.x86_64 postgresql91-devel-9.1.0-2PGDG.f15.x86_64 postgresql91-contrib-9.1.0-2PGDG.f15.x86_64 postgresql91-libs-9.1.0-2PGDG.f15.x86_64 postgresql91-server-9.1.0-2PGDG.f15.x86_64 and here is the output of pg_config [pgarner@localhost ~]$ /usr/pgsql-9.1/bin/pg_config --configure '--enable-rpath' '--prefix=/usr/pgsql-9.1' '--includedir=/usr/pgsql-9.1/include' '--mandir=/usr/pgsql-9.1/share/man' '--datadir=/usr/pgsql-9.1/share' '--with-perl' '--with-python' '--with-tcl' '--with-tclconfig=/usr/lib64' '--with-openssl' '--with-pam' '--with-krb5' '--with-gssapi' '--with-includes=/usr/include' '--with-libraries=/usr/lib64' '--enable-nls' '--with-ossp-uuid' '--with-libxml' '--with-libxslt' '--with-ldap' '--with-system-tzdata=/usr/share/zoneinfo' '--sysconfdir=/etc/sysconfig/pgsql' '--docdir=/usr/share/doc' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/et' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS= -I/usr/include/et' and I do see --with-gssapi, which is awesome! I did read through the pgsql manual and there are no examples on how to implement gssapi authentication against pgsql. Might you be able to point me to documentation? I am using Tomcat7 and my web application is able to connect to pgsql using "trust" authentication. Thanks for the information on pg_config. Pat On 9/22/2011 7:55 AM, Chris Ernst wrote: > Hi Patrick, > > Which pre-built packages (i.e. OS, flavor, architecture, etc...) are you > asking about? > > In most cases, you can check the output of pg_config to see if it was > built with "--with-gssapi". You may need to install the PostgresQL > development packages, depending on your environment. > > Hope that helps. > > - Chris > > On 09/21/2011 08:05 PM, Patrick Garner wrote: >> Are the pre-built binary packages built with support for GSSAPI >> authentication? >> >