Here's a quick rundown on how to get
MailArchiva working with Zimbra for ldap authentication.
This is for the host mail.example.com, the Base DN: is for addresses that would be
user@mail.example.com if your useres would just be
user@example.com just remove "dc=mail," from the Base DN.
You can retrieve your Service Account Password with the following command ran as the zimbra user:
zmlocalconfig -s zimbra_ldap_password
In the Assignment Roles defined below
adminuser@mail.example.com would be an administrator account, you can set this to any valid account. All other active users are assigned the user role. You must have roles set up before you can test the connection.
LDAP Server Address: mail.example.com:389 (FQDN:port)
Base DN: dc=mail,dc=example,dc=com
Service DN: cn=config
Service Account Password: yourpasswordhere
Bind Attribute: uid
Email Attribute: mail
Assign Roles to User/s:
Assignment 0: Role: administrator
LDAP Attribute: UID
Match Criterion: adminuser (regular expression)
Assignment 1: Role: user
LDAP Attribute: zimbraMailStatus
Match Criterion: enabled
--
AlanMorgan - 20 Apr 2009
The above configuration did not work for me, but was very, very close. I followed the advice I found
here, and changed the Bind Attribute: from "uid" to "mail", and all started working.
--
KevinTaylor - 29 May 2009