ldap2pg is released as a Go binary with no requirements.
On runtime, ldap2pg requires an unprivileged role with
CREATEROLE options or a superuser access.
ldap2pg does not require to run on the same host as the synchronized PostgreSQL cluster.
With 2MiB of RAM and one vCPU, ldap2pg can synchronize several thousands of roles in seconds, depending on PostgreSQL instance and LDAP directory response time.
- Download binary for your target system and architecture from ldap2pg release page.
- Move the binary to
- Ensure it’s executable with
chmod 0755 /usr/local/bin/ldap2pg.
- Test installation with
On RHEL and compatible clone, Dalibo Labs YUM repository offer RPM package for ldap2pg.
For using Dalibo Labs packaging:
- Enable Dalibo Labs YUM repository.
ldap2pgpackage with yum: