From 52d07e8544aada87cfdbad9baebe296dac9b4613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD?= Date: Sun, 13 Aug 2023 23:44:35 +0600 Subject: [PATCH] Update postgres-ldaps.md --- content/posts/postgres-ldaps.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/posts/postgres-ldaps.md b/content/posts/postgres-ldaps.md index 5aeb5d1..df9e698 100644 --- a/content/posts/postgres-ldaps.md +++ b/content/posts/postgres-ldaps.md @@ -35,8 +35,9 @@ ldapsearch -x -b "dc=,dc=" \ ``` ## Правка pg_hba.conf +С ldapprefix/ldapsuffix, возможно, придётся поколдовать. Стоит попробовать их оставить пустыми (=""). ```shell -host / ldap ldapserver=.. ldapprefix="cn=" ldapsuffix=",cn=users,dc=,dc=" +host / ldap ldapserver=.. ldapscheme=ldaps ldapprefix="cn=" ldapsuffix=",cn=users,dc=,dc=" # /var/lib/pgpro/std-14/data/pg_hba.conf ```