# Percona-pgbouncer 1.25 LDAP support

**URL:** <https://forums.percona.com/t/percona-pgbouncer-1-25-ldap-support/39843>\
**Category:** Percona Distribution for PostgreSQL\
**Created:** [December 5, 2025, 10:18am UTC](https://forums.percona.com/t/percona-pgbouncer-1-25-ldap-support/39843 "2025-12-05T10:18:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![neopolis](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@neopolis](https://forums.percona.com/u/neopolis)\
**Post date:** [December 5, 2025, 10:18am UTC](https://forums.percona.com/t/percona-pgbouncer-1-25-ldap-support/39843/1 "2025-12-05T10:18:26Z")

</div>

Hello,

I use Percona distribution for PostgreSQL with 18.1 version and installed packages from [Percona Repo](https://repo.percona.com/ppg-18.1/yum/release/9.0/RPMS/x86_64/) .

I found that [pgbouncer-1.25-0](https://www.pgbouncer.org/2025/11/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.

---

<div class="post-metadata">

**Author:** ![Alastair\_Turner](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/alastair_turner/32/13347_2.png) [@Alastair\_Turner](https://forums.percona.com/u/Alastair_Turner)\
**Post date:** [December 8, 2025, 1:44pm UTC](https://forums.percona.com/t/percona-pgbouncer-1-25-ldap-support/39843/2 "2025-12-08T13:44:09Z")

</div>

Hi neopolis

Welcome to the Percona forums. Yes, PgBouncer 1.25 includes LDAP support, if it is enabled by a compile-time flag. The build of PgBouncer included with the Percona packaging of Postgres 18.1 did not have that flag set, so does not include LDAP support. We will update the build process and ship PgBouncer with LDAP support in our next packaging cycle.

---

<div class="post-metadata">

**Author:** ![neopolis](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@neopolis](https://forums.percona.com/u/neopolis)\
**Post date:** [December 9, 2025, 10:17am UTC](https://forums.percona.com/t/percona-pgbouncer-1-25-ldap-support/39843/3 "2025-12-09T10:17:37Z")

</div>

Hi, thanks for your answer and comment. It would be great to have Percona PgBouncer build with LDAP support. Is it possible to know, when will you have your next packaging cycle? Thanks.

---

<div class="post-metadata">

**Author:** ![jaimes](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jaimes/32/20419_2.png) [@jaimes](https://forums.percona.com/u/jaimes)\
**Post date:** [April 14, 2026, 3:46am UTC](https://forums.percona.com/t/percona-pgbouncer-1-25-ldap-support/39843/4 "2026-04-14T03:46:44Z")

</div>

Hi Neopolis,

The latest release, PgBouncer 1.25.1 supports LDAP. Please test and let us know if it works for you.
