Redmine LDAP & Zimbra

Added by D K about 10 years ago

Hello,

I'm trying to authenticate Redmine users trough a zimbra server.
I've found multiple articles about it on the internet describing only Redmine or only zimbra.
Combining both pieces of information failed as for now i've got this:

* name: ZIMBRA
* host: office.example.com
* port: 389
* account:
* password:
* base DN: cn=users,ou=people,dc=example,dc=com
* on-the-fly user creation: [unchecked]
* 
* login: (uid=%n)
* firstname:
* lastname:
* email:

(All domain values are made up.)

I can't get this to working...
Maybe someone can help me?
Thanks!

Replies (8)

RE: Redmine LDAP & Zimbra - Added by D K almost 10 years ago

Hi,

It's been a while. So I will try again.
Tried it multiple times, nothing works, all test say "LdapError: no connection to server"?
I'm sure server is running.

Somebody got this kind of setup working.
Some help would be much appreciated.
Thanks.

RE: Redmine LDAP & Zimbra - Added by Anthony Topper almost 10 years ago

I am having the same problem. A solution would be fantastic. Please help.

Here's some information about my system:

Running ruby -v gives me.
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2009.10

Redmine is running on Rails 2.1.2

Not sure if it matters but Passenger is 2.2.9

RE: Redmine LDAP & Zimbra - Added by Anthony Topper almost 10 years ago

One thing that is similar is that there is no authentication required to connect to the LDAP server. Has this been tested to work in that case?

RE: Redmine LDAP & Zimbra - Added by William Knak almost 10 years ago

I make it work! First you have to look on Zimbra forums to enabled LDAP external Lookup:

http://www.zimbra.com/forums/administrators/23452-disable-anonymous-ldap-browse.html

Then, you need to set the settings like attatched screenshot:

Redmine and Zimbra Authentication Parameters

Regards,

William Knak

redmine-authentication-zimbra.png - Redmine and Zimbra Authentication Parameters (14.3 KB)

RE: Redmine LDAP & Zimbra - Added by D K over 9 years ago

Hey William,

Thanks for sharing your solution!
It works perfectly.

RE: Redmine LDAP & Zimbra - Added by Andrew Perry over 7 years ago

The preferable thing in many cases may be to create a user in Zimbra that has privileges to browse the directory, such as "redmine" and then enter that Zimbra user's account details in the redmine LDAP config.

This means anonymous lookup is not required!

The trick is to put the full dn in the Account field and not just the uid:

uid=redmine,ou=people,dc=yourdomain,dc=com,dc=au (we are in Australia ;-))

RE: Redmine LDAP & Zimbra - Added by Danni Audha about 6 years ago

I've followed the steps by steps as above, but redmine still can not login using ldap user on zimbra. Any others solution. Thanks.

RE: Redmine LDAP & Zimbra - Added by Danni Audha about 6 years ago

Fyi, i use redmine 2.3.2.stable and zimbra 8.0.4. Still can't login using ldap zimbra. Pls any others solution, thanks.

(1-8/8)