Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiXIA-00074u-EL for pgsql-general@arkaria.postgresql.org; Tue, 09 Jun 2020 05:59:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jiXI9-0005kx-7E for pgsql-general@arkaria.postgresql.org; Tue, 09 Jun 2020 05:59:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiXI8-0005kq-Vf for pgsql-general@lists.postgresql.org; Tue, 09 Jun 2020 05:59:20 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jiXI6-00024D-Qp for pgsql-general@lists.postgresql.org; Tue, 09 Jun 2020 05:59:19 +0000 Received: by mail-ej1-x644.google.com with SMTP id gl26so20939290ejb.11 for ; Mon, 08 Jun 2020 22:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=J5oIqpdjQyoee7zn/Mp1pOMjsOaFEGYT8dQg2eF3xqE=; b=DU67AeoHnHv/QEgXJM8y1iEdMRGgSrHW3w6M2Z4rpdtrVxzI26l+PZobM/VhAezIDf srs1Cfo9vdsjgoFO7j6cxpUhb8EmXhkQ91Fj3RyJdZBSULLdYULAevCTaGlndVm2kG3H 4U3cEj9GBOw92oFcv+mwGom3mwGC2f4kFmg4Emq2E4QRskAdq5q39KHp3/+IP02jlMC/ yuRAk9jRWU41dwQrQb4HEfXQhBXU7pikmIQmNyT6hzGummlC4vxAuiy/1nilNm/MaZCP UPhRi6YsekKxypEeKBn0pvJV8YLjW0dGYytfsRKowsb8bV9H2Z3j5LGsb9MZeB39G+Eu ebNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=J5oIqpdjQyoee7zn/Mp1pOMjsOaFEGYT8dQg2eF3xqE=; b=malV8Pun4/d5ej4VEu5mfXmaf/Wgk95+AJ5ik0TGRJ4+JwwS4hQYFoW/iCjlYxkP9m BiVrW9oSYjndPAjpMjTEFQ4H//44378qyh4/V6h5PRN8FMCmsOd2BHgEx0d4x7GpZzZl 53KH3x1r2q+NUhhUMsDwRBVBGhkEYiFDW0OLx8+80SE7ODM9p6Mp7J7RP8wayUXGbC38 zC0Yg7SlJ9blqtkkOdCHeFFKjo5MXik5UApCWp3/Twp+GpOOI5lEh73lXw7ZVuMRL58n oqZZEhLG7CbStWHcJROgbdkR5h25NvlWUiCDNCjhHVbmXXNA1b7MkNZpoMX2DefzZFAv 1l1g== X-Gm-Message-State: AOAM530Bys0z5jxv5UXbMwZoeqVaqR/RTNtPABPHNNeXUZ2Z0rCUY0oH 0fW3JbTrYK813F/612A3YOw= X-Google-Smtp-Source: ABdhPJzfxPdoK02fvR6m5wvnTeqPyeLWSbOR7kKVesQNdDRxgvevo0TjlnpPNMSmGQZ8HDQ1VULlvg== X-Received: by 2002:a17:907:212b:: with SMTP id qo11mr24860071ejb.235.1591682357398; Mon, 08 Jun 2020 22:59:17 -0700 (PDT) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id b15sm14699100edk.90.2020.06.08.22.59.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2020 22:59:16 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: troubleshooting postgresql ldap authentication From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: Date: Tue, 9 Jun 2020 07:59:13 +0200 Cc: postgre Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Chris Stephens X-Mailer: Apple Mail (2.3608.80.23.2.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Chris, > On 08. Jun, 2020, at 23:05, Chris Stephens = wrote: > posgresql 12 > centos 7 here: PostgreSQL 11.6 & 12.3, SLES 12 & 15 > hostssl all all 0.0.0.0/0 ldap = ldapserver=3D"ldaps://xxx" ldapbasedn=3D"yyy" ldaptls=3D1 we use: hostssl all all 0.0.0.0/0 ldap ldapserver=3D"host1 host2" ldapport=3D389 = ldapsearch=3D"dc=3Ddomain,dc=3Dexample,dc=3Dcom" = ldapsearchattribute=3D"uid" ldaptls=3D1 Works pretty well. Cheers, Paul=