mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2024-11-16 09:27:17 +03:00
Update postgres-ldaps.md
This commit is contained in:
parent
001a62ee03
commit
52d07e8544
@ -35,8 +35,9 @@ ldapsearch -x -b "dc=<domain>,dc=<local>" \
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Правка pg_hba.conf
|
## Правка pg_hba.conf
|
||||||
|
С ldapprefix/ldapsuffix, возможно, придётся поколдовать. Стоит попробовать их оставить пустыми (="").
|
||||||
```shell
|
```shell
|
||||||
host <database> <user> <ip>/<mask> ldap ldapserver=<dc>.<domain>.<local> ldapprefix="cn=" ldapsuffix=",cn=users,dc=<domain>,dc=<local>"
|
host <database> <user> <ip>/<mask> ldap ldapserver=<dc>.<domain>.<local> ldapscheme=ldaps ldapprefix="cn=" ldapsuffix=",cn=users,dc=<domain>,dc=<local>"
|
||||||
|
|
||||||
# /var/lib/pgpro/std-14/data/pg_hba.conf
|
# /var/lib/pgpro/std-14/data/pg_hba.conf
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user