From: Mike Feld <m1f7@aol.com>
To: mailinglist@unix-solution.de
Cc: pgsql-general@lists.postgresql.org
Subject: Re: psycopg2 and java gssapi questions
Date: Wed, 20 Dec 2017 16:16:59 -0500
Message-ID: <16075c95f0c-1715-25836@webjas-vae016.srv.aolmail.net> (raw)
This shows you how to setup GSSAPI authentication server side, which I have already done and have working. My question is from client side, without a human logged in to generate the ticket.
>>Hello,
>>have a look at
>>https://www.postgresql.org/docs/current/static/auth-methods.html>>There are details about LDAP and GSSAPI.
>>On 20.12.2017 20:42, Mike F wrote:
>>> Is it possible to authenticate with Postgres from a standalone
>>> application using gssapi? In other words, I am able to authenticate with
>>> Postgres when a human has logged in to either Windows or Linux and
>>> generated a ticket, but is it possible for say a Django site or Java
>>> application running on some server somewhere to authenticate with
>>> Postgres using gssapi? I realize that psycopg2 has a connection
>>> parameter for “krbsrvname”, but how does it generate a ticket? Is this
>>> the only alternative to secure authentication since Postgres does not
>>> support secure ldap (ldaps)?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: m1f7@aol.com, mailinglist@unix-solution.de
Subject: Re: psycopg2 and java gssapi questions
In-Reply-To: <16075c95f0c-1715-25836@webjas-vae016.srv.aolmail.net>
References: <16075c95f0c-1715-25836@webjas-vae016.srv.aolmail.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox