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 1hFAyx-0000hQ-Pr for pgsql-admin@arkaria.postgresql.org; Sat, 13 Apr 2019 05:13:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hFAyu-0008AP-Lm for pgsql-admin@arkaria.postgresql.org; Sat, 13 Apr 2019 05:13:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFAyu-0008AI-Cq for pgsql-admin@lists.postgresql.org; Sat, 13 Apr 2019 05:13:36 +0000 Received: from jakobs.com ([85.214.83.89] helo=rs.plausibolo.de) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFAyr-0002lx-HA for pgsql-admin@postgresql.org; Sat, 13 Apr 2019 05:13:35 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id 6024CBE04CC; Sat, 13 Apr 2019 07:13:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at rs.plausibolo.de Received: from rs.plausibolo.de ([127.0.0.1]) by localhost (h2367442.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O8W8HlVpRlBZ; Sat, 13 Apr 2019 07:13:30 +0200 (CEST) Received: from [192.168.178.194] (i577BCF5B.versanet.de [87.123.207.91]) by rs.plausibolo.de (Postfix) with ESMTPSA id 4270EBE0456; Sat, 13 Apr 2019 07:13:30 +0200 (CEST) Date: Sat, 13 Apr 2019 07:13:25 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: LDAP security connection To: pgsql-admin@lists.postgresql.org,Ilya Kosmodemiansky ,Pierre Ochsenbein CC: pgsql-admin From: Holger Jakobs Message-ID: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk If you run PostgreSQL on Windows (don't know whether and how it works on ot= her OS), writing sspi instead of md5 in pg_hba=2Econf is sufficient to conn= ect it to Active Directory=2E Add a pg_ident file to match PG users with AD users an you are done=2E Regards, Holger Am 12=2E April 2019 10:17:52 MESZ schrieb Ilya Kosmodemiansky : >Hi Pierre > >in general, there is nothing too complicated - >https://www=2Epostgresql=2Eorg/docs/11/auth-ldap=2Ehtml because LDAP is j= ust >an authentication method=2E > >Details could be more tricky, but for that more details on your >requirements needed - do you use pgbouncer, do you need to sync roles >from AD etc=2E > >best regards, >Ilya > >On Fri, Apr 12, 2019 at 9:58 AM Pierre Ochsenbein > wrote: >> >> Dear community >> >> I would like to create a connection security to PostgreSQL from >Active Directory with auth LDAP=2E >> Have you some recommendation for make this steps? >> >> Have a great Friday >> >> --=20 Holger Jakobs, Bergisch Gladbach +49 178 9759012 - sent from mobile, therefore short -