Lars Kanis
10d0f39694
Add Kerberos and NTLM authentication support
...
Fixes #41
2023-02-03 19:51:53 +01:00
Lars Kanis
f43d18d46a
Retrieve only necessary attributes from LDAP server
2022-12-02 14:04:43 +01:00
Lars Kanis
40661830a4
Exclude internal role of PostgreSQL-15
2022-12-02 13:27:35 +01:00
Lars Kanis
ee81807f49
Add error text to exception when an error was logged
2022-12-02 13:20:24 +01:00
Lars Kanis
81473fb2b4
Re-add support for attribute ranges
...
This is an alternative implementation of #37 .
It doesn't need additional configuration, but enables range retrieval automatic.
It also add some testing.
Fixes #32
2022-12-01 15:27:40 +01:00
Lars Kanis
f5b9587eb7
Revert "Support synchronize groups with over 1500 users in Active Directory server"
...
This reverts commit d833228547
.
2022-11-30 13:24:29 +01:00
Lars Kanis
f83b32f8d9
Revert "Instead of adding a new config option, use range retrieval when member_attribute includes ;range"
...
This reverts commit 917e716d38
.
2022-11-30 13:24:27 +01:00
Jingwen Yang
917e716d38
Instead of adding a new config option, use range retrieval when member_attribute includes ;range
2022-08-24 14:47:56 +08:00
Jingwen Yang
d833228547
Support synchronize groups with over 1500 users in Active Directory server
2022-08-24 12:04:10 +08:00
Lars Kanis
d22a67b0e7
Use do-end syntax for multiline blocks
...
This is more standard these days.
2022-01-17 16:08:40 +01:00
Lars Kanis
791f9dc72c
Fix memberships of bothcase-users
...
Only one of both users was recognized as a member of the LDAP group.
2022-01-17 16:05:51 +01:00
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