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 1gQCkJ-0005C7-92 for pgsql-admin@arkaria.postgresql.org; Fri, 23 Nov 2018 14:47:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gQCkI-0007f3-28 for pgsql-admin@arkaria.postgresql.org; Fri, 23 Nov 2018 14:47:50 +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 1gQCkH-0007ew-Ms for pgsql-admin@lists.postgresql.org; Fri, 23 Nov 2018 14:47:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gQCkF-0001E3-8Z for pgsql-admin@lists.postgresql.org; Fri, 23 Nov 2018 14:47:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wANElaHe023115; Fri, 23 Nov 2018 09:47:36 -0500 From: Tom Lane To: "Lentes, Bernd" cc: pgsql-admin@lists.postgresql.org Subject: Re: User Authentication: LDAP and "local" accounts concurrently ? In-reply-to: <1819852155.20922807.1542983802608.JavaMail.zimbra@helmholtz-muenchen.de> References: <1819852155.20922807.1542983802608.JavaMail.zimbra@helmholtz-muenchen.de> Comments: In-reply-to "Lentes, Bernd" message dated "Fri, 23 Nov 2018 15:36:42 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23113.1542984456.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 23 Nov 2018 09:47:36 -0500 Message-ID: <23114.1542984456@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Lentes, Bernd" writes: > i created a Postgres Server 9.6 on a SLES 12 SP3 box. In our institution= we have a Windows ADS which i like to use to authenticate users via LDAP.= But because there are several prerequisites to create such an account, wh= ich make things > sometime complicated, i also like to create "local" users (users defined= in the postgres DB itself). > Is it possible to use both concurrently ? Some users autheticate via LDA= P, others local. I think you could put the two sets of users into different groups and then specify those groups in two sets of pg_hba.conf entries. regards, tom lane