Re: Question about GSSAPI

From: Patrick Garner <postgresql(dot)org(at)patgarner(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Question about GSSAPI
Date: 2011-09-22 23:51:55
Message-ID: 4E7BCA1B.2040408@patgarner.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)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?
>>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Karuna Karpe 2011-09-23 07:12:54 pgpool
Previous Message Adrian Klaver 2011-09-22 14:12:03 Re: [GENERAL] Date time value error in Ms Access using pass through queries