RubyGems.org

pg-ldap-sync

0.1.1

LDAP is often used for 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 direct authorization of database users on LDAP. So roles and memberships has to be administered twice. This program helps to solve the issue by synchronizing users, groups and their memberships from LDAP to PostgreSQL. Access to LDAP is used 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
Authors

Lars Kanis

1,992 total downloads 932 for this version
Owners

Abc11c007a3a284272d261b2dae6376e

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