Project

General

Profile

LDAP Configuration

Added by Luis Serrano Aranda almost 13 years ago

Hello, In my company I have LDAP, I want to connect redmine with LDAP, I configure the connetion and it works.
But when I try to modify a user (Authentification method from internal to LDAP) the authentification fails, I try also creating a new user...

What is the correct method to create or modify a user to configure with LDAP authentification method.

Thanks for your help and excuse my bad english.


Replies (2)

RE: LDAP Configuration - Added by Luis Serrano Aranda almost 13 years ago

Someone could help me, thanks

Luis Serrano Aranda wrote:

Hello, In my company I have LDAP, I want to connect redmine with LDAP, I configure the connetion and it works.
But when I try to modify a user (Authentification method from internal to LDAP) the authentification fails, I try also creating a new user...

What is the correct method to create or modify a user to configure with LDAP authentification method.

Thanks for your help and excuse my bad english.

RE: LDAP Configuration - Added by Glenn Gould almost 13 years ago

Luis,

I'm not quite sure, whether I understand what kind of problem you experience exactly.

You've asked: "What is the correct method to create or modify a user to configure with LDAP authentication method."

The answer to that question is: there a two methods (if the connection to the LDAP-Server is working correctly).

1) LDAP-users should be able to login to Redmine with the LDAP-attribute you mapped to "Login" in Redmine's LDAP-Auth-Setup and their respective password. After the first login, Redmine creates database entries for that user and AFTER that first login the user is visible in Redmine an can be assigned to projects.

2) You can create the user manually in Redmine, set your already configured LDAP-Server as authentication source (instead of "internal"). You need to create the user in a way, that the values of username, Firstname, Lastname, e-mail exactly match with the attributes you've mapped to them from your LDAP.

Note that you cannot create users in LDAP via Redmine (as far as I know).

Keep in mind, that e-mail and username need to be unique in Redmine, you're not allowed to have the same e-mail address for two users (for example one with internal and another one with LDAP as authentication method).

Hope that helps. If it doesn't you might want to have a look your logs (LDAP and Redmine) to get a clue...

    (1-2/2)