Import Users in IBM Security Access Manager Using IBM Security Directory Integrator
Import Users in IBM Security Access Manager Using IBM Security Directory Integrator
Abstract:
This article will explain how to import users from different LDAP registries in to IBM Security Access
Manager using IBM Security Directory Integrator.
1
Table of Contents
1 Introduction .............................................................................................................................................3
2 Solution....................................................................................................................................................3
2.1 Scope of the Solution .......................................................................................................................3
2.2 Pre-requisites / Platform ..............................................................................................................3
2.3 Import Users ............................................................................................................................4
2.3.1 Functional Components ............................................................................................................4
2.3.2 Solution Architecture Design .....................................................................................................4
2.3.3 Add users in LDAP .....................................................................................................................5
2.3.4 ISDI Solution Explained .............................................................................................................6
3 Summary...................................................................................................................................................8
4 Resources................................................................................................................................................8
Table of Figures
Figure1 :Import users in ISAM from different LDAP servers using ISDI
Figure 2 :Flow of connectors in solution
Figure 3 :LDAP connector configurations
Figure 4:Command Line connector configuration
2
1 Introduction
Whenever customer has ISAM configured with existing ldap user entries, the users from ldap registry need to
be manually imported to ISAM which is a tedious task. The solution presented in this article will help to perform
this task with ease.
The customized solution developed here contains ISDI assembly line, Java script and shell script which help in
importing ldap users in ISAM. As you progress through this article, you should begin to understand the flow of
user import from LDAP registries to ISAM.
2 Solution
This solution contains ISDI connectors for fetching users from LDAP and importing them into ISAM server.
There are two script files(.bat and .sh) included in the solution. These will help to import users in Windows
and Linux box accordingly .
This solution will help customer to reduce the trouble involved in manual approach. Customer just need to
configure the LDAP connector with the help of properties file given in the solution .Once configuration will be
done execute the AL and then it will do the rest of the work .
NOTE :-- ISDI should be installed on the box on which Access Manager Run Time is installed.
3
2.3 Import users from LDAP servers into ISAM
Figure1: Import users in ISAM from different LDAP servers using ISDI
4
2.3.3 Add users in LDAP
Here I am taking an example of ISDS server. We can add user in ISDS using web admin tool as well as
using command prompt.
dn:cn=Test1_User1,o=ibm,c=us
objectclass:person
cn:Test1
sn:User1
userPassword:Test1
dn:cn=Test2_User2,o=ibm,c=us
objectclass:person
cn:Test2
sn:User2
userPassword:Test2
dn:cn=Test3_User3,o=ibm,c=us
objectclass:person
cn:Test3
sn:User3
userPassword:Test3
dn:cn=Test4_User4,o=ibm,c=us
objectclass:person
cn:Test4
sn:User4
userPassword:Test4
dn:cn=Test5_User5,o=ibm,c=us
objectclass:person
cn:Test5
sn:User5
userPassword:Test5
5
2.3.4 ISDI Solution Explained
This solution contained one AL import and two scripts (addUser.bat/sh) . As we know, for importing
the user in ISAM from LDAP registries , two attributes unique ID and DN name is required. This
DN name should be available in the LDAP registries . In this solution , I have used cn as user ID .
With the help of delta functionality of LDAP connector, I tried to make AL intelligent enough to ignore
the entries which is already imported .
For more information regarding the execution of Assembly lines , please refer the link for ISDI
Administration guide given in the References section .
AL will automatically decide on which Operating System script need to be execute and then
accordingly it will execute the script and import users in ISAM.
6
Figure 3: -- Ldap connector configurations
7
3 Summary
The solution shared with this article will help customer to import user from different LDAP
registries to ISAM and make them user valid for authentication .
4 Resources
See the resources for help with installing and administrating the product mentioned in the
article :
8
APPENDIX - A
ISDI IBM Security Directory Integrator
CE - Configuration Editor
AL - AssemblyLine
LDAP - Lightweight Directory Access Protocol
ISDS - IBM Security Directory Server
ISAM IBM Security Access Manager