使用Apache James Mail服务器和LDAP
在我的LDAP服务器(ApacheDS) 我有ou=users,ou=system users下的ou=users,ou=system 。 我将下面的configuration写入James,并且两台服务器都可以启动(DS和James)。 <repository name="LocalUsers" class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository" ldapHost="ldap://localhost:10389" principal="uid=admin,ou=system" credentials="secret" userBase="ou=users,ou=system" userIdAttribute="uid"/> 我知道我的configuration是好的,因为我收到警告“用户存储库是只读”,当我尝试通过james-cli.sh添加用户 我将一些用户直接添加到LDAP服务器,他们有DN , CN和uid 我想问,我怎么能通过詹姆斯(邮件服务器)login到我的用户帐户在LDAP服务器? 我该怎么写blah @ blah。 我想我可以使用uid作为第一个等等,但是我不能通过James定义域,因为它的LDAP门是只读的。