Hello,
I use Percona distribution for PostgreSQL with 18.1 version and installed packages from Percona Repo .
I found that pgbouncer-1.25-0 version supports LDAP authentification. So, I installed package percona-pgbouncer-1.25.0-1.el9.x86_64.rpm and have:
pgbouncer --version
PgBouncer 1.25.0
In couple ways I tried configure LDAP authentification in pgbouncer, for example:
auth_type = ldap
auth_ldap_options = ldapurl=“ldap://127.0.0.1:12345/dc=example,dc=net?uid?sub”
but it fails: FATAL: ldap is not supported by this build
Hmm.. it seems that LDAP authentication method is not supported, but I use PgBouncer 1.25.0. It should support LDAP.
Do you have any idea? How can I use LDAP authentication with percona-pgbouncer? Could you present any real example? Thanks in advance.