【问题标题】:Unable to authenticate iRedmail Ldap mail accounts with Redmine application无法使用 Redmine 应用程序验证 iRedmail Ldap 邮件帐户
【发布时间】:2020-01-06 14:52:40
【问题描述】:

我有两个不同的服务器用于 iRedMail 和 Redmine 应用程序。 iRedMail 在内部使用 OpenLDAP 创建电子邮件帐户。

我想使用 iRedMail OpenLDAP 邮件帐户验证 Redmine 应用程序。

我已经完成了以下 LDAP 设置,但是当我尝试使用 iRedMail 电子邮件和密码登录时,Redmine 应用程序中的登录失败并显示一条消息为“无效的用户 ID 和密码”

iRedMail LDAP 框架

dc=example,dc=com
-- o=domains
---- domainName=example.com
------ ou=Users
---------mail=testuser1@example.com
---------mail=testuser2@example.com


DN for testuser1: mail=testuser1@example.com,ou=Users,domainName=example.com,o=domains,dc=example,dc=com

DN for testuser2: mail=testuser2@example.com,ou=Users,domainName=example.com,o=domains,dc=example,dc=com

Redmine 应用 LDAP 配置

Name - LdapRedMail
Host - IpAddress
Port - 389 
LDAPS - No
Account - cn=Manager,dc=example,dc=com
Password - ******
Base DN - domainName=example.com,o=domains,dc=example,dc=com
LDAP filter - (&(enabledService=mail)(enabledService=deliver)(enabledService=displayedInGlobalAddressBook)(|(objectClass=inetOrgPerson)(objectClass=mailUser)))

属性

Login attribute - mail
Firstname attribute - givenName
Lastname attribute - sN
Email attribute - mail

那么有人可以帮忙解决这个问题吗?

【问题讨论】:

    标签: redmine openldap iredmail


    【解决方案1】:

    经过长时间的搜索,我能够解决如下所示的问题,

    Name - LdapRedMail
    Host - IpAddress
    Port - 389 
    LDAPS - No
    Account - cn=vmail,dc=example,dc=com
    Password - <vmail password from settings.py>
    Base DN - o=domains,dc=example,dc=com
    LDAP filter - <empty>
    
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-02-02
      • 2012-02-12
      • 2020-10-29
      • 1970-01-01
      • 1970-01-01
      • 2013-09-05
      • 1970-01-01
      相关资源
      最近更新 更多