P. 1
LDAP Authentication in Redmine

LDAP Authentication in Redmine

|Views: 1,665|Likes:

More info:

Published by: Thilina Thanthriwatta on Aug 14, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/24/2013

pdf

text

original

Guide for integrating Active Directory with Redmine.

Pre-requisites ● Microsoft server (2003/2008) with Active Directory component ● Ldp.exe component is a support tools utility bundled with Windows Server 2008 ● Redmine (Bitnami Redmine Stack native windows installers) http://bitnami.org/files/stacks/redmine/1.2.1-0/bitnami-redmine-1.2.1-0-windowsinstaller.exe Step 1: Creating a user in Active Directory Start -> Active Directory Users and Computers -> click on your domain (e.g. wingman.com) -> Right Click on Users -> New ->User

Figure 1 – Navigation to Active Directory Users and Computers

Figure 2- Creating a user in Active Directory Step 2: Entering in User’s details

Figure 3 – Entering details of users

Step 3: Initiate ldp.exe Click Start->run->Type ldp Step 4: Connecting LDAP and Active Directory Click Connection in Menu bar -> Connect -> OK
● ●

Server – Domain Name (e.g. wingman) Port – 389 (Default LDAP port)

Figure 4 – LDAP connection with Active Directory

If the connection is successful, then it will display below mentioned message (Without error) in a pane.

Figure 5 – “Successfully connect” Message Step 5: Binding a user Click Connection->Bind
● ●

User: Enter Username (e.g. wingman\peter) Password: Enter the password of user(Peter)

Figure 6- Binding a user If this binding is successful, below mentioned message should be printed in your pane (e.g. User: Peter) res = ldap_simple_bind_s(ld, 'wingman\peter', <unavailable>); // v.3 Authenticated as: 'WINGMAN\peter'. Step 6: Redmine Configuration Now you have to switch to client machine and log on to Redmine as the administrator. Step 7: Navigation to Authentication Modes Click Administration->LDAP Authentication->New Authentication modes Step 8: Entering attributes of Active Directory Fill the form by using details of attributes of Active Directory.

Figure 8 – Entering the attributes of Active Directory
● ● ● ● ● ●

Name – Name of LDAP authentication (Arbitrary name) Host – Domain name (wingman.com) or IP address of server Port – 389 (Default LDAP port) Account – Username of administrator of Domain Password – Password of administrator of Domain Base DN – Location of users list in Active Directory. (E.g. Typically your users are listed in “Users” category in Active Directory) e.g : cn = Users,dc=wingman,dc=com

“On-the-fly user creation” component enables to users in Active Directory to sign in against Redmine in their first login. Attributes of Active Directory: ● Login – sAMAccountName ● First Name – givenName ● Last Name – sN ● E mail – mail Click Save Step 9: Testing the Connection

After finishing details, it is better to test the connection by clicking “Test”. If it will display “Successful Connection”, it means that your configurations are correct. Step 10: First Login Then you have to log out Redmine and again sign in by using your username and password in Active Directory. Step 11: Entering an E mail address Now you have to enter your email address (valid email) and click “submit” button

Figure 9 – Register with e-mail

Step 12: Login with credentials in Active Directory Now your account is activated.

Figure 10 – Account activation It is the time to sign out Redmine and sign in again by using your user’s credentials stored in Active Directory.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->