Commit Graph

29 Commits

Author SHA1 Message Date
Lars Kanis
d8ea157c66 Add config option :bothcase_name 2022-01-17 14:48:49 +01:00
Lars Kanis
52ca5fc323 Update predefined roles for PostgreSQL-14 2022-01-17 13:37:09 +01:00
Lars Kanis
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
Lars Kanis
3d676d20d1
Exclude default roles of PostgreSQL-10 2018-02-06 22:31:06 +01:00
Lars Kanis
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
Lars Kanis
e73cdd52a9
Merge branch 'master' of github.com:larskanis/pg-ldap-sync 2018-02-06 22:00:56 +01:00
Lars Kanis
2d700214af
Add pg_ldap_sync --version 2018-02-06 21:58:53 +01:00
Martin Kangur
6294c7e883
Update application.rb
@pgconn is already defined, so lets us it
2018-02-06 15:55:20 +02:00
Martin Kangur
2f24829bc5 Use PG everywhere instead of PGconn 2018-01-31 13:14:43 +02:00
Martin Kangur
9cbb8e9e87
Update application.rb
Use PG.connect instead of PGconn.connect
2018-01-31 12:47:28 +02:00
Lars Kanis
1df48950f5 Add ability to lowercase the LDAP name for use as PG role name 2012-11-14 11:03:50 +01:00
Lars Kanis
321781679d fix crash when droping a role and revoking it's memberships afterwards 2011-07-08 15:50:33 +02:00
Lars Kanis
055810e815 description to param -v changed 2011-07-08 12:19:15 +02:00
Lars Kanis
9dba0a6ab1 fix compatibility with pg.gem 2011-07-07 16:17:01 +02:00
Lars Kanis
92b560c688 avoid syntax warning 2011-07-07 16:15:25 +02:00
Lars Kanis
68e6b40741 add proper error checking for LDAP search 2011-07-07 15:07:44 +02:00
Lars Kanis
e43a96b19b add support for postgres-pr 2011-05-24 13:52:21 +02:00
Lars Kanis
f07fab1a9f select only needed columns 2011-05-24 11:42:43 +02:00
Lars Kanis
4ed42eeb2c fix argv parsing and close PG connection 2011-05-24 11:24:32 +02:00
Lars Kanis
adab86a3f0 add sample and schema yaml files 2011-05-24 08:06:08 +02:00
Lars Kanis
5800f7cbc4 add YAML schema validation through kwalify 2011-05-23 15:39:42 +02:00
Lars Kanis
2e2daf173f fix crash for unknown pg member names 2011-05-23 11:00:56 +02:00
Lars Kanis
a66c607608 avoid logging of binary data 2011-05-23 10:49:25 +02:00
Lars Kanis
2cc2b39863 renamed MatchedMembership#member_of to #has_member - that's what it means 2011-05-23 10:44:07 +02:00
Lars Kanis
47d5b9862e moved log output into #match_membership and #match_roles 2011-05-23 10:34:53 +02:00
Lars Kanis
853367186d fix typo 2011-05-20 15:54:15 +02:00
Lars Kanis
fccc2df8db add grant_options 2011-05-20 15:51:50 +02:00
Lars Kanis
0bb2754bca add membership sync 2011-05-20 15:33:46 +02:00
Lars Kanis
d54d82ae95 Sync roles works, sync membership not yet 2011-05-18 15:45:08 +02:00