1

Topic: Integrating iRedMail @ Alfresco user information with LDAP

Hi,

I'm building a system with eMail, IM, and Alfresco.  Alfresco is a document management system.  So users on my system would have eMail, Calendaring (provided by Horde), IM (provided by eJabberd), and mini collaboration websites (provided by Alfresco's Share Interface).

The idea would be, that I use iRedAdmin-Pro LDAP to add a user, and sync the LDAP, so that user becomes a user on all four systems.

I used the eJabberd tutorial to add in this service, works fine.  It handles "chained" LDAP, so all email users are included, and you can use the ejabberd web console to add users not included in the email system.

Horde plays nice with the eMail so that works fine, as well.

Alfresco offers many options in integrating LDAP and AD out of the box.  I am a newbie to LDAP, so I can make config changes but, cant create my own LDAP strategy.

I had hoped to use iRedMail & iRedAdmin's LDAP strategy as a master to integrate the others to.

Alfresco's has a nice manual, with LDAP settings here... http://docs.alfresco.com/4.0/index.jsp? … intro.html

It allows chaining, so both internal email users and external collaboration users can be managed with multiple sources.  I just couldn't get it to link up.

Any ideas?

Jon Cyr

2

Re: Integrating iRedMail @ Alfresco user information with LDAP

After reading Alfresco doc, below setting might work:

ldap.authentication.java.naming.security.authentication -> simple
ldap.authentication.userNameFormat -> mail=%s,ou=Users,domainName=domain.ltd,o=domains,dc=company,dc=com (Use email address as login id)
ldap.authentication.java.naming.provider.url -> ldap://127.0.0.1:389 (or ldaps://127.0.0.1 for TLS)

ldap.synchronization.userSearchBase -> ou=Users,domainName=domain.ltd,o=domains,dc=company,dc=com

ldap.synchronization.userIdAttributeName -> uid (maybe 'mail')
ldap.synchronization.userEmailAttributeName -> mail

I'm not sure what other settings are required. Sorry.

If this is a testing server, i'm glad to help configure it remotely via SSH.

3

Re: Integrating iRedMail @ Alfresco user information with LDAP

I tried so many things, not sure if I tried your suggestion.  I very well may have not.  the domainName= and the o= elements both, I don't think I did.

Debugging Alfresco is a bear, for this item, you have to restart it, to see if it works, which takes 5-10 minutes to come up.  It's evidently doing alot at startup.  So, having you help me is much appreciated, but not necessary.

I'll report back, when I get it working.


Thanks again,

-Jon

4

Re: Integrating iRedMail @ Alfresco user information with LDAP

Hello cyrj,
  Alfresco integration is very intresting. Please,  inform us how it's going...
Is this method works?


cyrj wrote:

I tried so many things, not sure if I tried your suggestion.  I very well may have not.  the domainName= and the o= elements both, I don't think I did.

Debugging Alfresco is a bear, for this item, you have to restart it, to see if it works, which takes 5-10 minutes to come up.  It's evidently doing alot at startup.  So, having you help me is much appreciated, but not necessary.

I'll report back, when I get it working.


Thanks again,

-Jon