RubyGems.org

pg-ldap-sync

0.1.0

LDAP is often used to do a centralized user and role management in an enterprise environment. PostgreSQL offers different authentication methods, like LDAP, SSPI, GSSAPI or SSL. However, for any method the user must already exist in the database, before the authentication can be used. There is currently no authorization of database users directly based on LDAP. This program helps to solve the issue by synchronizing users, groups and their memberships from LDAP to PostgreSQL. Access to LDAP is read-only. <tt>pg_ldap_sync</tt> issues proper CREATE ROLE, DROP ROLE, GRANT and REVOKE commands to synchronize users and groups. It is meant to be started as a cron job.

installgem install pg-ldap-sync -v 0.1.0
Authors

Lars Kanis

1,999 total downloads 1,063 for this version
Owners

Abc11c007a3a284272d261b2dae6376e

Gemfile
gem 'pg-ldap-sync', '~> 0.1.0'
Versions
  1. 0.1.1 November 15, 2012 (12.5 KB)
  2. 0.1.0 July 12, 2011 (12 KB)