diff --git a/Manifest.txt b/Manifest.txt index b9d1a3c..af91cb5 100644 --- a/Manifest.txt +++ b/Manifest.txt @@ -4,5 +4,7 @@ Manifest.txt README.txt Rakefile bin/pg_ldap_sync +config/config.yaml lib/pg_ldap_sync.rb +lib/pg_ldap_sync/application.rb test/test_pg_ldap_sync.rb diff --git a/README.txt b/README.txt index 526b3ce..25b012f 100644 --- a/README.txt +++ b/README.txt @@ -1,26 +1,45 @@ -= pg_ldap_sync += Use LDAP permissions in PostgreSQL -* FIX (url) +* https://github.com/larskanis/pg-ldap-sync == DESCRIPTION: -FIX (describe your package) +PostgreSQL offers different authentication methods, like LDAP, SSPI, GSSAPI or SSL. +For any method the user must already exist in the database, before +the authentication can be used. LDAP is often used to do a centralized +user and role management in an enterprise environment. + +This program synchronizes users, groups and memberships from LDAP to +PostgreSQL. == FEATURES/PROBLEMS: -* FIX (list of features or problems) +* Use Active Directory as LDAP-Server +* Configurable per YAML config file == SYNOPSIS: - FIX (code sample of usage) + pg_ldap_sync -vv -t == REQUIREMENTS: -* FIX (list of requirements) +* Installed Ruby and rubygems +* LDAP- and PostgreSQL-Server == INSTALL: -* FIX (sudo gem install, anything else) +Install Ruby and rubygems: +* http://rubyinstaller.org/ on Windows +* apt-get install ruby rubygems on Debian + +Install pg-ldap-sync and a database driver for PostgreSQL: +* gem install pg-ldap-sync postgres-pr + +Or install from Git: + git clone https://github.com/larskanis/pg-ldap-sync.git + cd pg-ldap-sync + rake install_gem + == LICENSE: diff --git a/Rakefile b/Rakefile index 0ecb3a5..e543e12 100644 --- a/Rakefile +++ b/Rakefile @@ -3,10 +3,11 @@ require 'rubygems' require 'hoe' -Hoe.spec 'pg_ldap_sync' do - # developer('FIX', 'FIX@example.com') - - # self.rubyforge_name = 'pg_ldap_syncx' # if different than 'pg_ldap_sync' +Hoe.spec 'pg-ldap-sync' do + developer('Lars Kanis', 'kanis@comcard.de') + + extra_deps << ['net-ldap', '>= 0.2'] + extra_deps << ['kwalify', '>= 0.7'] end # vim: syntax=ruby