Oracle Internet Directory Integration with Microsoft Active Directory
May 30, 2009 at 9:39 am | In Advanced Implementation of EBS | 11 CommentsTags: Active Directory and Oracle Internet Directory, Integrate Active Directory with Oracle Internet Directory, Integrate OID with Active Directory, Integrate Oracle E-business with Active Directory, Integrate Oracle Internet Directory with iplanet directory, Integrate Oracle Internet Directory with Microsoft Active Directory, Integration Oracle Identity Mangement with Microsoft Active Directory, OID integration with Active Directory, OID with AD Integration
Dear Readers,
In this post I will explain how to Integrate Oracle Internet Directory with Microsoft Active Directory in Detail
Pre-requisites
1.Install Oracle Identity Management Suite 10.1.4.0.1-Choose Infrastructure and Metadata Repository option and choose components SSO,ODISRV,AND All the components except Certificate Authroity and HA).
2.Install Windows 2003 Server and Configure Microsoft Active Directory in that Server
3.Bring these Servers in the same network.
Step -I.
Login to the OID Server and invoke dipassistant(oracle directory integration and provisioning admin console) using the following options
$dipassistant -gui
login as dipadmin and password will be the same as of the orcladmin super user which you gave during the installation of OID.
In the dipadmin console from the left pane in System Objects choose Active Directory beneath the icon ConfigurationSet1 and In the right pane You will see the Express Configuration Wizard.
Enter the Active Directory Server information and in credentials enter the Superuser Account
as administrator@ and in the connector name give any reasonable name and
if you press then the Import and export profile prepends the connector name and then
Click the check box Configure Access Control Policies if you want to enforce ACL.and then press OK
to save this information which will start the actual integration.
1. Express Configuration Wizard in dipadmin
On Successfull Integration dipadmin displays a success message which is given as below
Step II- Enable Bidirectional Synchronization in dipadmin for OID to AD
To achieve the bi-directional Synchronization — in dipadmin console choose the configured configset1 in the
left pane(system objects and in the right pane you will see the configured adImport and adExport(since i have given
the connector name as ad).choose those connector profile and edit and Enable those profiles for both export and Import.
If You enable both ,then synchronization of Users is bi-directional(both ways)(i.e from OID to AD and from AD to OID).
you can also note that bootstrap status(which has not started yet). I have given the screenshots below for editing
the connector profiles.
Step-III.
The initial migration of Users from Microsoft Active Directory to Oracle Internet Directory is called “bootstrap” process.
to do the bootstrap we need to execute the command as shown below..
Confirm the bootstrap is successfull by choosing the adImport profile (connector) in the configset1(in the right pane and doing an edit and check the status) which will show you that bootstrap is successfull which i have shown below.
Step IV:-
Now the initial Import of Users from AD to OID is complete.To start the synchronization of Users that are created both in AD and OID we need to start the odiserver(odisrv) with the configuration set 1(the one we have configured with dipadmin) we have use the following command
You can also verify that synchronization has started by editing the profiles and checking the status or by checking odisrvlogs in $ORACLE_HOME/ldap/logs ,you can also find the trc and aud files for these connectors in $ORACLE_HOME/ldap/odi/logs.
Step 5:-
The final step in the configuration process is to deploy the Active Directory External Authentication Plug-in,
which validates user-supplied passwords with AD during a user login sequence.
The following steps involve execution of a Unix shell script.
$ cd $ORACLE_HOME/ldap/admin
$ sh oidspadi.sh
A series of messages and prompts will be displayed as the script executes. Sample prompt responses:
Please enter Active Directory host name: ad.vectorconsulting.co.uk
Do you want to use SSL to connect to Active Directory? (y/n) n
Please enter Active Directory port number [389]: 389
Please enter DB connect string: iasdb
Please enter ODS password: oracleadmin1
Please enter confirmed ODS password: admin01
Please enter OID host name: sso.vectorconsulting.co.uk
Please enter OID port number [389]: 13061
Please enter orcladmin password: oracleadmin01
Please enter confirmed orcladmin password: oracleadmin01
Please enter the subscriber common user search base [orclcommonusersearchbase]: cn=Users,dc=vectorconsulting,dc=co,dc=uk
Please enter the Plug-in Request Group DN:
Please enter the exception entry property [(!(objectclass=orcladuser))]:
Do you want to setup the backup Active Directory for failover? (y/n) n
Return to the Oracle Directory Manager console upon successful completion
of the plug-in deployment process and navigate to the click the Plug-In Management fork.
Make sure that the Plug-in Enable property is set for both adwhencompare and adwhenbind.
Testing
At this point, OID has been populated with an initial set of users and groups via bootstrap migration from Active directory,
and the Oracle Directory Integration and Provisioning tool has been configured such that it will use the Active Directory
Connector to keep this information synchronized. The Oracle Directory Server has been directed to authenticate users
migrated from Active Directory using the Oracle-supplied Active Directory External Authentication
Plug-in. It should now be possible to log in to Oracle SSO or any integrated applications like E-Business Suite using
one of the migrated Active Directory users with its corresponding password.
Note: The username must be of the form name@
Step VI:- open the Oracle Directory Manager and verify that Users are Imported from Active Directory by navigating
to defaut domain and cn=Users and find the users of Active Directory which i have shown below.
Now go to the Windows Active Directory Server and verify that OID users are migrated there which i have shown below
Verifying that orcladmin user(or whatever users in OID is populated in AD)
Step VII. create New Users in AD and verify that user is synchronized with OID.
Here For example i have created a user “vivek rajendran” in Active Directory domain and verified its synchronizing in AD.
Step VIII.
Next Step is to create a test user in OID using oiddas self service webconsole .The screenshots are as follows.
Final Step :–
Trace and Audit Files for the connector(the screenshot is shown below):-
If you have any issues with the synchronization then you can view the aud,trc files above and also verify the log files for the odisrv as shown below(ORACLE_HOME/ldap/odi/log)
I hope You all have understood the Integration of OID with AD and if you have integrated other applications like oracle E-Business suite and if bi-directional provisioning is enabled there — then when you create any user in the E-Business Suite ,
they will be automatically enabled in Windows Active Directory and they will be able to log in as windows desktop Users.
Your Comments,Questions are Welcome.
–Vivek Rajendran
11 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
-
Recent Posts
- How snapshot standby and database replay helps performance tuning in oracle
- Siebel CRM startup and shutdown scripts in linux and in Unix Flavours
- Using Oracle Active DataGuard for Real Time Reporting
- Manual Standby Database under Oracle Standard Edition
- How to Install Siebel CRM Webclient 8.0.0.0 in client machines
-
Top Posts
Archives
-
Blog Stats
- 21,169 hits
Categories
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.



















Hi,
got INVALID_CREDENTIALS error in dipadmin console. Can ping AD server from OID server and vice-versa. Please, help.
Comment by nano — July 13, 2009 #
Hi,
Did you forgot your orcladmin password. if so
read my http://applicationsdba.wordpress.com/2009/05/28/what-is-oidpasswd-tool-in-oracle-identity-management/
to reset orcladmin password and use the same password for user “dipadmin”
–Vivek
Comment by applicationsdba — July 13, 2009 #
No, but I use OAS Infrastructure 10.1.2.0.2. Is it a problem ?
Regards
Comment by nano — July 13, 2009 #
Hi,
What is the oidspadi.sh windows equivalent script ?
Thanks.
Comment by nano — July 13, 2009 #
Hi,
I hope The domain in AD that you are trying to integrate in OID is not existing in OID. Login to OID Manager (front end) and if you expand the Entry Management you should find dc= the new domain entry.
If its not there you will land up with this problem.You can add that new domain blank entry in OID using OID Manager.
– Vivek
Comment by applicationsdba — July 14, 2009 #
I set up SSO and have it authenticated my credentials via AD instead of OID. Right now I have to enter my username on oracle portal in the form username@domain.
I prefer to just enter in username and ignore the @domain part. Can I do that? If so, what components I need to configure?
Thanks
Andy
Comment by Andy — September 1, 2009 #
Hi Vivek,
We have configured Oracle E-Business 11i with Oracle SSO 10g. We are able to log onto the application using “Zero Sign-on”, that is using the Kerberos ticket through Internet Explorer. However we are getting an issue when trying to go through the Oracle Single Sign-On OracleAS 10g Login page or E-Business Suite 11i AppsLocalLogin page. We are getting error “Login failed. Please verify your login information or contact the system administrator”. This feature is works fine for about one hour after we restart the applications. After this period it does not work until we restart the server again.
Grateful if you could provide some help,
Kind regards,
Selven
Comment by Saoundarajen Krishnan Nair — October 22, 2009 #
Hi Selven,
Check out the metalink Note :-
Troubleshooting SSO Windows Native Authentication (WNA)
Doc ID: 283268.1
Thanks
– Vivek
Comment by applicationsdba — October 22, 2009 #
Hi,
I hope It should not be an issue, But check that all the required components are Installed(Oracle Identity Management components).
– Vivek
Comment by applicationsdba — July 13, 2009 #
Hi,
got following error (in french) at oidspadi last step (registering plug-ins):
Registering Plug-ins …
ajout de l’entrĂ©e cn=adwhencompare,cn=plugin,cn=subconfigsubentry
ldap_add: Violation de classe d’objet
ldap_add : info. supplémentaire : dn introuvable dans la liste des attributs obligatoires ou facultatifs.
Means something like:
add entry cn=adwhencompare,cn=plugin,cn=subconfigsubentry
ldap_add: Object class violation
ldap_add : info. suppl : dn not exists in mandatory/optional attributs list
Please, help.
Comment by nano — July 14, 2009 #
Hi,
It appears that the domain is existing in AD but not in OID. add a blank object entry in OID Manager(front end) for the new domain in OID(In Entry management dc=newdomain).then run the oidspadi.sh.
–Vivek
Comment by applicationsdba — July 14, 2009 #