Commit Graph

31 Commits

Author SHA1 Message Date
e4bd4e46be Update application.rb
uppercase names config
2020-10-09 13:47:31 +05:00
257b1a5e49 Whole bunch of changes
Run sync within a SQL transaction, so that no partial sync happens

Don't abort on SQL errors, but print ERROR notice

Exit with code 1 when any ERRORs were logged

Silence the test suite, so that test runs are more clearly

Use PG queries instead of psql in test. This is more flexible
than parsing text outputs per Regexp.
2018-03-13 16:34:50 +01:00
3d676d20d1 Exclude default roles of PostgreSQL-10 2018-02-06 22:31:06 +01:00
5169177b97 Remove possibility to use postgres-pr
It is no longer maintained and doesn't work with current PostgreSQL versions.
2018-02-06 22:29:48 +01:00
e73cdd52a9 Merge branch 'master' of github.com:larskanis/pg-ldap-sync 2018-02-06 22:00:56 +01:00
2d700214af Add pg_ldap_sync --version 2018-02-06 21:58:53 +01:00
611abf1594 Move from Hoe to Bundler
This adds a gemspec and a Gemfile to the repository.
2018-02-06 21:56:53 +01:00
6294c7e883 Update application.rb
@pgconn is already defined, so lets us it
2018-02-06 15:55:20 +02:00
2f24829bc5 Use PG everywhere instead of PGconn 2018-01-31 13:14:43 +02:00
9cbb8e9e87 Update application.rb
Use PG.connect instead of PGconn.connect
2018-01-31 12:47:28 +02:00
40a32023ca Prepare for release 2012-11-15 17:02:55 +01:00
1df48950f5 Add ability to lowercase the LDAP name for use as PG role name 2012-11-14 11:03:50 +01:00
321781679d fix crash when droping a role and revoking it's memberships afterwards 2011-07-08 15:50:33 +02:00
055810e815 description to param -v changed 2011-07-08 12:19:15 +02:00
9dba0a6ab1 fix compatibility with pg.gem 2011-07-07 16:17:01 +02:00
92b560c688 avoid syntax warning 2011-07-07 16:15:25 +02:00
68e6b40741 add proper error checking for LDAP search 2011-07-07 15:07:44 +02:00
d479b80e30 bump VERSION to 0.1.0 2011-05-24 13:57:26 +02:00
e43a96b19b add support for postgres-pr 2011-05-24 13:52:21 +02:00
f07fab1a9f select only needed columns 2011-05-24 11:42:43 +02:00
4ed42eeb2c fix argv parsing and close PG connection 2011-05-24 11:24:32 +02:00
adab86a3f0 add sample and schema yaml files 2011-05-24 08:06:08 +02:00
5800f7cbc4 add YAML schema validation through kwalify 2011-05-23 15:39:42 +02:00
2e2daf173f fix crash for unknown pg member names 2011-05-23 11:00:56 +02:00
a66c607608 avoid logging of binary data 2011-05-23 10:49:25 +02:00
2cc2b39863 renamed MatchedMembership#member_of to #has_member - that's what it means 2011-05-23 10:44:07 +02:00
47d5b9862e moved log output into #match_membership and #match_roles 2011-05-23 10:34:53 +02:00
853367186d fix typo 2011-05-20 15:54:15 +02:00
fccc2df8db add grant_options 2011-05-20 15:51:50 +02:00
0bb2754bca add membership sync 2011-05-20 15:33:46 +02:00
d54d82ae95 Sync roles works, sync membership not yet 2011-05-18 15:45:08 +02:00