Plugins Directory » Redmine LDAP Sync (Redmine 6.x)
|
|
Author: | Gabor Jozsa |
|---|---|---|
| Website: | https://github.com/jzsgbr/redmine_ldap_sync | |
| Code repository: | https://github.com/jzsgbr/redmine_ldap_sync | |
| Registered on: | 2026-11-04 (19 days ago) | |
| Current version: | 3.0.1 | |
| Compatible with: | Redmine 6.1.x | |
| User ratings: |
Synchronizes Redmine users and groups with LDAP / Active Directory, on login or on a schedule. Works with MS Active Directory, slapd and other LDAP implementations.
Port of redmine_ldap_sync by Ricardo Santos (original author, Redmine 3.x) to Redmine 6.x / Rails 7.2 / Ruby 3.x:
- Zeitwerk autoloader, Turbo and Redmine 6 UI compatibility
- built-in scheduler configured in the UI, no host cron job needed
- manual "Run now" sync button in the admin UI
- reworked Test tab with clearer LDAP connection output
- user search by login or e-mail style UPN (john.doe or john.doe@company.com)
- fixed compatibility with net-ldap 0.17+, removed deprecated APIs
Tested with Redmine 6.1.2, Rails 7.2.3, Ruby 3.4 and PostgreSQL 16.
Installation notes
cd /path/to/redmine/plugins git clone https://github.com/jzsgbr/redmine_ldap_sync.git cd /path/to/redmine bundle exec rake redmine:plugins:migrate RAILS_ENV=production
Then restart Redmine.
Changelog
3.0.1 (2026-10-05)
Compatible with Redmine 6.1.x.
Bug fix release.
- Fixed: the automatic scheduler failed with
undefined method 'running_rake!'because theto_prepareblock ininit.rbdid not run on Redmine 6. The plugin libraries are now loaded inafter_initialize. - The scheduler now loads the infectors itself before running (same safeguard as the manual sync).
Manual sync was not affected.
Upgrade: replace init.rb and vendor/ldap_sync_lib/scheduler.rb (or pull the new version), then restart Redmine.
3.0.0 (2026-05-29)
Compatible with Redmine 6.1.x.
First release for Redmine 6.x / Rails 7.2 / Ruby 3.x. Port of the original plugin by Ricardo Santos, with a built-in scheduler, a "Run now" button, a reworked Test tab and UPN user search.