Commit Graph

70 Commits

Author SHA1 Message Date
577720102a Rename version.rb to version.rb 2023-08-09 17:30:05 +06:00
c06ab0405d Rename logger.rb to logger.rb 2023-08-09 17:29:41 +06:00
3781513fcf Rename application.rb to application.rb 2023-08-09 17:29:20 +06:00
890b8e710b Rename compat.rb to compat.rb 2023-08-09 17:29:01 +06:00
4d15d2afc9 Rename pg_ldap_sync.rb to pgls.rb 2023-08-09 17:27:47 +06:00
f4c803fd49 Update version.rb 2023-08-09 17:22:17 +06:00
e5ace0ddb8 Update version.rb 2023-08-03 17:29:57 +06:00
149bea2369 Update application.rb 2023-07-31 20:42:05 +06:00
f2d5eda2b4 Update version.rb 2023-07-31 20:40:40 +06:00
728043127d fix 2023-07-31 20:40:30 +06:00
6d8a85e9aa Update version.rb 2023-07-31 19:43:51 +06:00
bf5bc3de69 Update application.rb 2023-07-31 19:24:06 +06:00
e7e1ebd228 Update application.rb 2023-07-31 19:13:57 +06:00
95030a3acb Update application.rb 2023-07-31 19:01:11 +06:00
9654487ff7 Update application.rb 2023-07-31 18:51:47 +06:00
949540854c Update application.rb 2023-07-31 18:45:42 +06:00
540e154b33 Update application.rb 2023-07-31 18:21:59 +06:00
c78daa9b0c Update version.rb 2023-07-26 20:19:48 +06:00
aae9d86f57 Merge branch 'master' of https://github.com/larskanis/pg-ldap-sync 2023-07-26 15:08:50 +05:00
10d0f39694 Add Kerberos and NTLM authentication support
Fixes #41
2023-02-03 19:51:53 +01:00
37b1bc17a0 Add ruby-version as a comment 2022-12-03 12:23:26 +01:00
7e5e24e922 Bump VERSION to 0.4.0 2022-12-02 16:47:58 +01:00
f43d18d46a Retrieve only necessary attributes from LDAP server 2022-12-02 14:04:43 +01:00
ff6d6cce22 Fix logging with WARN, INFO, DEBUG level 2022-12-02 14:03:45 +01:00
40661830a4 Exclude internal role of PostgreSQL-15 2022-12-02 13:27:35 +01:00
ee81807f49 Add error text to exception when an error was logged 2022-12-02 13:20:24 +01:00
5a07820472 Fix compat with ruby < 2.5 2022-12-02 08:05:42 +01:00
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
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
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
917e716d38 Instead of adding a new config option, use range retrieval when member_attribute includes ;range 2022-08-24 14:47:56 +08:00
d833228547 Support synchronize groups with over 1500 users in Active Directory server 2022-08-24 12:04:10 +08:00
4a16f02414 Astra linux domain support
Added support ALD
2022-04-18 23:38:32 +05:00
31f11627e1 Merge remote-tracking branch 'upstream/master' 2022-04-18 23:31:24 +05:00
d22a67b0e7 Use do-end syntax for multiline blocks
This is more standard these days.
2022-01-17 16:08:40 +01:00
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
c6c6562ac4 Bump VERSION to 0.3.0 2022-01-17 15:03:13 +01:00
d8ea157c66 Add config option :bothcase_name 2022-01-17 14:48:49 +01:00
52ca5fc323 Update predefined roles for PostgreSQL-14 2022-01-17 13:37:09 +01:00
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