temporary fix for config code blocks

This commit is contained in:
2024-11-03 13:11:52 +01:00
parent 059c24ef6f
commit d016387976
22 changed files with 41 additions and 41 deletions

View File

@ -24,7 +24,7 @@ apt install ldap-utils -y
В файл `/etc/ldap/ldap.conf` необходимо добавить следующие строки:
```config
```python
TLS_CACERT /etc/ldap/<ad>.pem
BASE dc=<domain>,dc=<local>
URI ldaps://<dc>.<domain>.<local>:636
@ -39,7 +39,7 @@ ldapsearch -x -b "dc=<domain>,dc=<local>" -H ldaps://<dc>.<domain>.<local>:636 -
## Правка pg_hba.conf
С ldapprefix/ldapsuffix в файле `/var/lib/pgpro/std-14/data/pg_hba.conf`, возможно, придётся поколдовать. Стоит попробовать их оставить пустыми (="").
```config
```python
host <database> <user> <ip>/<mask> ldap ldapserver=<dc>.<domain>.<local> ldapscheme=ldaps ldapprefix="cn=" ldapsuffix=",cn=users,dc=<domain>,dc=<local>"
```