<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle BI and DWH &#187; OBIEE LDAP Authentication AD</title>
	<atom:link href="http://www.oraclebidwh.com/tag/obiee-ldap-authentication-ad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclebidwh.com</link>
	<description>OBIEE and OWB Tutorial</description>
	<lastBuildDate>Tue, 03 Nov 2009 05:12:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OBIEE LDAP Authentication using Microsoft AD 2</title>
		<link>http://www.oraclebidwh.com/2009/11/obiee-ldap-authentication-using-microsoft-ad-2/</link>
		<comments>http://www.oraclebidwh.com/2009/11/obiee-ldap-authentication-using-microsoft-ad-2/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 01:59:44 +0000</pubDate>
		<dc:creator>Oraclebidwh</dc:creator>
				<category><![CDATA[ALL]]></category>
		<category><![CDATA[Group LDAP]]></category>
		<category><![CDATA[LDAP group]]></category>
		<category><![CDATA[OBIEE group LDAP]]></category>
		<category><![CDATA[OBIEE LDAP]]></category>
		<category><![CDATA[OBIEE LDAP Authentication]]></category>
		<category><![CDATA[OBIEE LDAP Authentication AD]]></category>

		<guid isPermaLink="false">http://www.oraclebidwh.com/?p=244</guid>
		<description><![CDATA[







How to get group information in case of AD , LDAP authentication?
In the previous post we have seen how to set up LDAP authentication in OBIEE .
If you have not read that I would advice you to read the article
 here
In this post will go through limitations of Microsoft AD implementation for SSO.
We can not [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds2--><p><strong>How to get group information in case of AD , LDAP authentication?</strong></p>
<p>In the previous post we have seen how to set up LDAP authentication in OBIEE .<br />
If you have not read that I would advice you to read the article<br />
<a href="http://www.oraclebidwh.com/2009/10/obiee-ldap-authentication-using-microsoft-ad/"> here</a></p>
<p>In this post will go through limitations of Microsoft AD implementation for SSO.</p>
<div id="attachment_247" class="wp-caption aligncenter" style="width: 875px"><img class="size-full wp-image-247" title="LDAP Limitations with Microsoft AD" src="http://www.oraclebidwh.com/wp-content/uploads/2009/11/LDAP-Limitations.JPG" alt="LDAP Limitations with Microsoft AD" width="865" height="586" /><p class="wp-caption-text">LDAP Limitations with Microsoft AD</p></div>
<p>We can not use <strong>import ,import all or synchronize users </strong>from OBIEE admin in case of  AD.And we can not even get the user&#8217;s group defined in the AD.</p>
<p>As in case of groups it returns an array of chars and OBIEE does not understand it as a group name.( it requires group names separatedby ; )</p>
<p>So in we can not implement the security at User level we have to set the security at group level only.</p>
<p>let say we have user devang in LDAP.  and it belongs to a group called PowerUser.</p>
<p><strong>Step 1 Create a database table and make entries</strong></p>
<p>let say  our database table which has user and group called:  USER_SECURITY_GROUPS.</p>
<p>It has enty as user , group = devang,PowerUser</p>
<p><strong>Step 2 Create a init block to get the user group information from database table</strong></p>
<p>Lets called the initialization block as initGroup and create it as show below.</p>
<div id="attachment_252" class="wp-caption aligncenter" style="width: 569px"><img class="size-full wp-image-252" title="initiGroup creation" src="http://www.oraclebidwh.com/wp-content/uploads/2009/11/initiGroup-creation.gif" alt="initiGroup creation" width="559" height="684" /><p class="wp-caption-text">initiGroup creation</p></div>
<p>Note : in execution precedence make sure that initLDAP gets executed first. So that users gets authenticated and then get the group name from database table.</p>
<p><strong>set 3 Create group in OBIEE repository</strong></p>
<p>Create a group called PowerUser in OBIEE repository</p>
<p>Manage&#8211; &gt; Security  &#8211;&gt; Groups and create a new group</p>
<div id="attachment_249" class="wp-caption aligncenter" style="width: 412px"><img class="size-full wp-image-249" title="LDAP Group in Admin" src="http://www.oraclebidwh.com/wp-content/uploads/2009/11/LDAP-Group-in-Admin.gif" alt="LDAP Group in Admin" width="402" height="531" /><p class="wp-caption-text">LDAP Group in Admin</p></div>
<p>set the permission for the group as required.</p>
<p><strong>Step 4</strong> <strong>Create a same catalog group in OBIEE answers.</strong></p>
<p>Go to Setting &#8212; &gt; Administration &#8212; &gt; Manage Presentation Catalog Groups and Users</p>
<div id="attachment_251" class="wp-caption aligncenter" style="width: 899px"><img class="size-full wp-image-251" title="LDAP Group in Answers" src="http://www.oraclebidwh.com/wp-content/uploads/2009/11/LDAP-Group-in-Answers.jpg" alt="Group in Answers" width="889" height="215" /><p class="wp-caption-text">Group in Answers</p></div>
<div id="attachment_250" class="wp-caption aligncenter" style="width: 934px"><img class="size-full wp-image-250" title="Create a new catalog group" src="http://www.oraclebidwh.com/wp-content/uploads/2009/11/LDAP-Group-in-Answers-new-group.gif" alt="Create a new catalog group" width="924" height="740" /><p class="wp-caption-text">Create a new catalog group</p></div>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.oraclebidwh.com/2009/11/obiee-ldap-authentication-using-microsoft-ad-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>OBIEE LDAP Authentication using Microsoft AD 1</title>
		<link>http://www.oraclebidwh.com/2009/10/obiee-ldap-authentication-using-microsoft-ad/</link>
		<comments>http://www.oraclebidwh.com/2009/10/obiee-ldap-authentication-using-microsoft-ad/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 02:21:24 +0000</pubDate>
		<dc:creator>Oraclebidwh</dc:creator>
				<category><![CDATA[ALL]]></category>
		<category><![CDATA[OBIEE Administrator]]></category>
		<category><![CDATA[OBIEE LDAP]]></category>
		<category><![CDATA[OBIEE LDAP Authentication]]></category>
		<category><![CDATA[OBIEE LDAP Authentication AD]]></category>
		<category><![CDATA[OBIEE SSO]]></category>
		<category><![CDATA[SSO OBIEE]]></category>

		<guid isPermaLink="false">http://www.oraclebidwh.com/?p=217</guid>
		<description><![CDATA[How to Implement Single Sign On (SSO) in OBIEE with Microsoft Active Directory ?
OBIEE LDAP authentication using microsoft Active Directory.
Before starting this, I would prefer that you read my article on session variable and initialized block  here 
SSO can be implemented using Lightweight Directory Access Protocol (LDAP) in OBIEE.
Most popular LDAP implementation for OBIEE [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds2--><p><strong>How to Implement Single Sign On (SSO) in OBIEE with Microsoft Active Directory ?</strong></p>
<p><strong>OBIEE LDAP authentication using microsoft Active Directory.</strong></p>
<p>Before starting this, I would prefer that you read my article on session variable and initialized block  <a href="http://www.oraclebidwh.com/2009/10/row-level-security-using-initialization-blocks-and-session-variables/"><strong>here </strong></A></p>
<p>SSO can be implemented using <strong>Lightweight Directory Access Protocol</strong><strong> (</strong>LDAP) in OBIEE.</p>
<p>Most popular LDAP implementation for OBIEE is either <strong>OID</strong> (Oracle internet Directory) or Microsoft Active Directory (<strong>AD</strong>). And no wonder why LDAP authentication is supported more on OID and not AD (yeah Oracle v/s Microsoft). This does not mean we can not achieve SSO using LDAP for AD. Yes we can. But with little different implementation style and some limitations. (Oracle documentation talks about all OID and nothing at all for AD)</p>
<p>So Here I am going to discuss on how to implement LDAP authentication for AD to achieve SSO.</p>
<p>Below are the implementation step:</p>
<p><strong>Setting up LDAP Server , Initialization Block and Session Variables</strong></p>
<p>Step 1: Create LDAP Connection.</p>
<p>Open OBIEE Administration.</p>
<p>Go to Manage &#8212; &gt; Security</p>
<div id="attachment_220" class="wp-caption aligncenter" style="width: 1034px"><img class="size-full wp-image-220" title=" Manage Security." src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-1-Manage-Security..gif" alt=" Manage Security." width="1024" height="768" /><p class="wp-caption-text"> Manage Security.</p></div>
<p>Select LDAP Servers : on the right side right click and select New LDAP Server</p>
<div id="attachment_229" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-229" title="Security Manager" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/Security-Manager-300x145.gif" alt="Security Manager" width="300" height="145" /><p class="wp-caption-text">Security Manager</p></div>
<div id="attachment_221" class="wp-caption aligncenter" style="width: 244px"><img class="size-medium wp-image-221" title=" LDAP Connection" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-2-LDAP-Connection-234x300.gif" alt=" LDAP Connection" width="234" height="300" /><p class="wp-caption-text"> LDAP Connection</p></div>
<div id="attachment_222" class="wp-caption aligncenter" style="width: 328px"><img class="size-full wp-image-222" title="LDAP Connection Advance" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-3-LDAP-Connection-Advance.gif" alt="LDAP Connection Advance" width="318" height="407" /><p class="wp-caption-text">LDAP Connection Advance</p></div>
<p>Step 2: Create  initialization block and session variable</p>
<p>Go to Manage &#8212; &gt; Variables</p>
<p>Click Session &#8212; &gt; Initialization Block right click on the pan select New Initialization Block</p>
<div id="attachment_224" class="wp-caption aligncenter" style="width: 569px"><img class="size-full wp-image-224" title="Session Variable Initialization Block" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-5-Session-Variable-Initialization-Block.gif" alt="Session Variable Initialization Block" width="559" height="684" /><p class="wp-caption-text">Session Variable Initialization Block</p></div>
<p>Give the name to the Initialization Block e.g initLDAP</p>
<p>As a part of configuring Initialization Block you need to provide</p>
<p>Click on <strong>Edit Data Source</strong></p>
<p>Data Source Type : select LDAP<strong> </strong>then click on Browse and select appropriate LDAP server connection<strong><br />
</strong></p>
<p><strong> </strong></p>
<div id="attachment_230" class="wp-caption aligncenter" style="width: 540px"><strong><strong><img class="size-full wp-image-230" title="Data Source" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-6-Data-Source.gif" alt="Data Source" width="530" height="367" /></strong></strong><p class="wp-caption-text">Data Source</p></div>
<p><strong> </strong></p>
<p>Click on <strong>Edit Data Target</strong></p>
<p><strong> </strong></p>
<div id="attachment_226" class="wp-caption aligncenter" style="width: 487px"><strong><strong><img class="size-full wp-image-226" title="Session Variable" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-7-Session-Variable.gif" alt="Session Variable" width="477" height="425" /></strong></strong><p class="wp-caption-text">Session Variable</p></div>
<p><strong> </strong></p>
<p>Click on New and you will see the screen like below</p>
<div id="attachment_228" class="wp-caption aligncenter" style="width: 360px"><img class="size-full wp-image-228" title="User Session Variable" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-8-User-Session-Variable.gif" alt="User Session Variable" width="350" height="380" /><p class="wp-caption-text">User Session Variable</p></div>
<p>Click ok you will and warning message as below. Just ignore it, as it warns that you are using USER session variable and it has special meaning</p>
<div id="attachment_219" class="wp-caption aligncenter" style="width: 501px"><img class="size-full wp-image-219" title="User Warning" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-8-User-Warning.gif" alt="User Warning" width="491" height="119" /><p class="wp-caption-text">User Warning</p></div>
<p><strong> </strong></p>
<div id="attachment_227" class="wp-caption aligncenter" style="width: 487px"><strong><strong><img class="size-full wp-image-227" title="User LDAP Variable" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-8-User-LDAP-Variable.gif" alt="User LDAP Variable" width="477" height="425" /></strong></strong><p class="wp-caption-text">User LDAP Variable</p></div>
<p><strong> </strong></p>
<p>Here we have just create only one session variable which takes information from LDAP. We can create many such variable like groups( has limitation AD which i am going to discuss in detail) , display name etc etc whatever is available on LDAP.</p>
<p>LDAP admin can help with the name of  variable referred in LDAP</p>
<p>Click on <strong>Edit Execution Precedence</strong></p>
<p>If you are using multiple Initialization block then this will be use ful in deciding which block should execute first. As we have just once init block we will not do anything here.</p>
<p><strong>Click on Test</strong></p>
<p>Enter LDAP  UserId and password, in sAMAccountName it should show the user Id which indicates the LDAP connection and hence authentication with LDAP works.</p>
<p><strong><br />
</strong></p>
<div id="attachment_232" class="wp-caption aligncenter" style="width: 279px"><img class="size-full wp-image-232" title="TEST LDAP connection" src="http://www.oraclebidwh.com/wp-content/uploads/2009/10/LDAP-8-TEST.gif" alt="TEST LDAP connection" width="269" height="166" /><p class="wp-caption-text">TEST LDAP connection</p></div>
<p>In the next post I will discuss on how to get group information, limitation of LDAP AD implementaion with OBIEE.<strong><br />
</strong></p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.oraclebidwh.com/2009/10/obiee-ldap-authentication-using-microsoft-ad/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
