From: basti <mailinglist@unix-solution.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: psycopg2 and java gssapi questions
Date: Wed, 20 Dec 2017 21:20:39 +0100
Message-ID: <6271f47e-eb4d-fff2-de7a-cee8fb06b819@unix-solution.de> (raw)
In-Reply-To: <160757340e8-171c-3009@webjas-vae222.srv.aolmail.net>
References: <160757340e8-171c-3009@webjas-vae222.srv.aolmail.net>
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 Feld 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: mailinglist@unix-solution.de
Subject: Re: psycopg2 and java gssapi questions
In-Reply-To: <6271f47e-eb4d-fff2-de7a-cee8fb06b819@unix-solution.de>
References: <160757340e8-171c-3009@webjas-vae222.srv.aolmail.net> <6271f47e-eb4d-fff2-de7a-cee8fb06b819@unix-solution.de>
* 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