pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Jean-Philippe Chenel <jp.chenel@LIVE.CA>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: 9.6.9 Default configuration for a default installation but different with-krb-srvnam
Date: Mon, 29 Apr 2019 22:21:54 -0400
Message-ID: <20190430022153.GP6197@tamriel.snowman.net> (raw)
In-Reply-To: <BYAPR03MB44855E91F30C9CE819D3A54EFD3A0@BYAPR03MB4485.namprd03.prod.outlook.com>
References: <BYAPR03MB44855415DF162E9E68CD2B68FD3E0@BYAPR03MB4485.namprd03.prod.outlook.com>
	<20190429142230.GZ6197@tamriel.snowman.net>
	<BYAPR03MB4485B23B59FA0D706B89A9F8FD390@BYAPR03MB4485.namprd03.prod.outlook.com>
	<20190429173510.GD6197@tamriel.snowman.net>
	<BYAPR03MB44855E91F30C9CE819D3A54EFD3A0@BYAPR03MB4485.namprd03.prod.outlook.com>

Greetings,

* Jean-Philippe Chenel (jp.chenel@LIVE.CA) wrote:
> You're absolutely right, the mapping work very well.

Great, glad to hear it.

> I've created 2 "service user" on Active Directory (postgres and postgres_dev), and generated the keytab like this:
> 
> ktpass -out postgres_pg1.keytab -princ postgres/PGDOMT1.ad.com@AD.COM -mapUser AD\postgres -pass 'UserPass1' -mapOp add -crypto ALL -ptype KRB5_NT_PRINCIPAL
> 
> ktpass -out postgres_pg2.keytab -princ postgres/PGDOMT2.ad.com@AD.COM -mapUser AD\postgres_dev -pass 'UserPass2' -mapOp add -crypto ALL -ptype KRB5_NT_PRINCIPAL

I would strongly suggest you use passwords that are randomly generated
and not sent to a public, archived, mailing list.  If someone knows the
password, they can impersonate the server.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (8+ messages)

Message-ID: <20190430022153.GP6197@tamriel.snowman.net>
Permalink:  ../20190430022153.GP6197@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20190430022153.GP6197@tamriel.snowman.net

 · 

reply

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: sfrost@snowman.net, jp.chenel@LIVE.CA
  Subject: Re: 9.6.9 Default configuration for a default installation but different with-krb-srvnam
  In-Reply-To: <20190430022153.GP6197@tamriel.snowman.net>
  References: <BYAPR03MB44855415DF162E9E68CD2B68FD3E0@BYAPR03MB4485.namprd03.prod.outlook.com> <20190429142230.GZ6197@tamriel.snowman.net> <BYAPR03MB4485B23B59FA0D706B89A9F8FD390@BYAPR03MB4485.namprd03.prod.outlook.com> <20190429173510.GD6197@tamriel.snowman.net> <BYAPR03MB44855E91F30C9CE819D3A54EFD3A0@BYAPR03MB4485.namprd03.prod.outlook.com> <20190430022153.GP6197@tamriel.snowman.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