{"repo":"dalibo/ldap2pg","free":true,"listed":false,"github":"https://github.com/dalibo/ldap2pg","clone":"git clone https://github.com/dalibo/ldap2pg.git","description":":elephant: :busts_in_silhouette: Manage PostgreSQL roles and privileges from YAML or LDAP","language":"Go","stars":235,"topics":["ldap","postgresql","yaml","roles","acl","privileges","golang","directory","security","users"],"license":"PostgreSQL","category":"security-tools","readme_excerpt":"Swiss-army knife to synchronize Postgres roles and privileges from YAML or LDAP. Postgres is able to check password of an existing role using the LDAP protocol out of the box. ldap2pg automates the creation, update and removal of PostgreSQL roles and users from an entreprise directory. Managing roles is close to managing privileges as you expect roles to have proper default privileges. ldap2pg can grant and revoke privileges too. Features - Support PostgreSQL 17 down to 9.5. - Reads settings from an expressive YAML config file. - Creates, alters and drops PostgreSQL roles from LDAP searches. - Creates static roles from YAML to complete LDAP entries. - Manages role parents (alias groups ). - Grants or revokes privileges statically or from LDAP entries. - Dry run, check mode. - Logs LDAP searches as ldapsearch(1) commands. - Logs every SQL statements. Here is a sample configuration and execution: Installation Download package or binary from Releases page. ldap2pg is licensed under PostgreSQL license. ldap2pg requires a configuration file called ldap2pg.yaml . Project ships a tested ldap2pg.yml as a starting point. Finally, it's up to you to use ldap2pg in a crontab or a playbook. Have fun! ldap2pg is reported to work with Samba Directory, OpenLDAP, FreeIPA, Oracle Internet Directory and Microsoft Active Directory. Support If you need support and you didn't found it in documentation, just drop a question in a GitHub discussion! French accepted. If you hit a bug or miss a feature","default_branch":null,"files":null,"tree":[],"storefront":"/r/dalibo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dalibo/ldap2pg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}