Re: psycopg2 and java gssapi questions

From: Mike Feld <m1f7(at)aol(dot)com>
To: mailinglist(at)unix-solution(dot)de
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: psycopg2 and java gssapi questions
Date: 2017-12-20 21:16:59
Message-ID: 16075c95f0c-1715-25836@webjas-vae016.srv.aolmail.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Browse pgsql-general by date

  From Date Subject
Next Message support-tiger 2017-12-20 23:05:39 problems with postgresql 10.1 hba_conf on fedora 27
Previous Message basti 2017-12-20 20:20:39 Re: psycopg2 and java gssapi questions