Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRkS7-0000pY-UZ for pgsql-general@arkaria.postgresql.org; Wed, 20 Dec 2017 19:54:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRkS7-00054m-Ab for pgsql-general@arkaria.postgresql.org; Wed, 20 Dec 2017 19:54:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eRkGg-0002u3-N2 for pgsql-general@lists.postgresql.org; Wed, 20 Dec 2017 19:43:07 +0000 Received: from omr-m008e.mx.aol.com ([204.29.186.7]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eRkGY-0000W5-C2 for pgsql-general@lists.postgresql.org; Wed, 20 Dec 2017 19:43:03 +0000 Received: from mtaomg-mad02.mx.aol.com (mtaomg-mad02.mx.aol.com [172.26.221.208]) by omr-m008e.mx.aol.com (Outbound Mail Relay) with ESMTP id 927543800101 for ; Wed, 20 Dec 2017 14:42:56 -0500 (EST) Received: from core-mee05b.mail.aol.com (core-mee05.mail.aol.com [172.27.117.15]) by mtaomg-mad02.mx.aol.com (OMAG/Core Interface) with ESMTP id 05D3738000083 for ; Wed, 20 Dec 2017 14:42:56 -0500 (EST) Received: from 68.10.102.85 by webjas-vae222.srv.aolmail.net (10.96.23.225) with HTTP (WebMailUI); Wed, 20 Dec 2017 14:42:55 -0500 Date: Wed, 20 Dec 2017 14:42:55 -0500 From: Mike Feld To: pgsql-general@lists.postgresql.org Message-Id: <160757340e8-171c-3009@webjas-vae222.srv.aolmail.net> Subject: psycopg2 and java gssapi questions MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16497_1691379692.1513798975720" X-MB-Message-Source: WebUI X-MB-Message-Type: User X-Mailer: JAS STD X-Originating-IP: [68.10.102.85] x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1513798976; bh=qpYTRUacBW6KphFM+P71arTRR1RLRpFUJ2xjSrt4WIQ=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=i9LjunsEKhNMoYmDCwJ38X2odnEqniELgtJTscS2J9vKuD51njQzP2MEXj1xk8VHV hpp/7H8aRwZHUWIWRPW1MW0xsCK8Lo94DIIFpfHIJtH3G+jE/tW+G86+9PV7mVpHNP pquS5fcTHMOu67vB5t3M8L5UguNJ/zDyqAMK6/Po= x-aol-sid: 3039ac1addd05a3abd40081f List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_16497_1691379692.1513798975720 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is it possible to authenticate with Postgres from astandalone application u= sing gssapi? In other words, I am able to authenticatewith Postgres when a = human has logged in to either Windows or Linux andgenerated a ticket, but i= s it possible for say a Django site or Javaapplication running on some serv= er somewhere to authenticate with Postgresusing gssapi? I realize that psyc= opg2 has a connection parameter for =E2=80=9Ckrbsrvname=E2=80=9D,but how do= es it generate a ticket? Is this the only alternative to secure authenticat= ion since Postgres does not support secure ldap (ldaps)? ------=_Part_16497_1691379692.1513798975720 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Is it possible to authenticate with Postgres from = a standalone application using gssapi? In other words, I am able to authentic= ate 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 =E2=80= =9Ckrbsrvname=E2=80=9D, but how does it generate a ticket? Is this the only alternative to secure a= uthentication since Postgres does not support secure ldap (ldaps)?
------=_Part_16497_1691379692.1513798975720--