Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iI7fE-0004K3-81 for pgsql-general@arkaria.postgresql.org; Wed, 09 Oct 2019 08:49:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iI7fB-00036j-Vf for pgsql-general@arkaria.postgresql.org; Wed, 09 Oct 2019 08:49:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iI7fB-00036Z-Ir for pgsql-general@lists.postgresql.org; Wed, 09 Oct 2019 08:49:41 +0000 Received: from 87-51-63-174-static.201.dk.customer.tdc.net ([87.51.63.174] helo=foxconn.winge-jensen.dk) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iI7f8-0002YK-Jq for pgsql-general@lists.postgresql.org; Wed, 09 Oct 2019 08:49:39 +0000 Received: from fujitsu.winge-jensen.dk ([192.168.1.11]) by foxconn.winge-jensen.dk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iI7f4-00056L-Qz for pgsql-general@lists.postgresql.org; Wed, 09 Oct 2019 10:49:35 +0200 Date: Wed, 9 Oct 2019 10:49:34 +0200 From: Allan Jensen To: pgsql-general@lists.postgresql.org Message-ID: <20191009104934.5b0d31ec@fujitsu.winge-jensen.dk> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 192.168.1.11 X-SA-Exim-Mail-From: pglist@winge-jensen.dk X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on foxconn.winge-jensen.dk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Subject: GSSAPI: logging principal X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on foxconn.winge-jensen.dk) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, I have GSSAPI-login and user mapping to postgres working fine. Whenever i login to postgres I get a line like the following in the logfile: connection authorized: user=testrole database=testdb SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256, compression=off) What bothers me, is that i can't see what kerberos prinicpal was used during authentication. I have fiddled around with log-settings to no avail. Is there any way to make postgres log the principal? -- Regards, Allan