项目

一般

简介

插件 » Redmine LDAP Sync 用户/组同步插件

Redmine Ldap Sync

发布于: https://github.com/thorin/redmine_ldap_sync
兼容于: Redmine 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.6.*, 2.5.*, 2.4.*, 2.3.*, 2.2.*, 2.1.*

最新版本: 2.3.1 更新日期: 2023-12-17 16:38

基本介绍

该插件扩展redmine ldap authentication,在登录时同步用户/组数据。同时提供若干rake tasks,可通过手动的方式定期自动同步用户及组用户数据。

功能:

  • 登录Redmine时同步用户字段和组
  • 识别并禁用用LDAP删除的用户
  • 识别并禁用在活动目录中已经禁用的用户 (详见 MS KB Article 305144)
  • 可识别嵌套组,登录时从磁盘缓存中获取嵌套组,缓存仅在执行rake task时更新
  • Rake tasks支持手动和阶段性同步用户和组信息

备注:

  • 该插件应该支持大多数LDAP目录,但目前作者仅确保Active Directory 和Slapd正常工作
  • 某用户仅会被LDAP上的组中剔除,目的为实现允许ldap和非ladp组可以并存
  • 删除LDAP上的组不会影响对应的redmine组

可用的Rake tasks:

# rake -T redmine:plugins:ldap_sync
rake redmine:plugins:ldap_sync:sync_all     # Synchronize both redmine's users and groups with LDAP
rake redmine:plugins:ldap_sync:sync_groups  # Synchronize redmine's groups fields with those on LDAP
rake redmine:plugins:ldap_sync:sync_users   # Synchronize redmine's users fields and groups with those on LDAP

其它更详细介绍见作者主页