Calendar
载入中……
Placard
载入中……
Category
载入中……
Latest Entries
载入中……
Latest Comments
载入中……
Last Messages
载入中……
User Login
载入中……
Links
Information
载入中……
Search
Other


Welcome to my blog!
  如何配置Cognos的Access Manager
 

作者:NinGoo
本文主要讲述如何配置Access Manager使用Directory Server作为Cognos的安全认证机制。文中以Cognos Finance7.4和sunONE directory server5.2做为示例。

首先安装好sunONE directory server。安装过程很简单,如果出现“151:Unknown error”错误,请参考这里。

sunONE directory server的配置很简单,主要注意下port和suffix的配置。这里端口使用默认的389,管理端口使用390。suffix设置为o=Cognos

然后安装Cognos的产品如Finance7.4。安装完成后打开Configuration Manager,在左边的Explorer中,打开Services->Access Manager-Directory Server->General


配置以下选项:
Are you sure you want to configure this directory server? - Yes这里一定要宣称yes,否则后面配置Access Manager-Runtime的时候不能成功,并且报错是Directory Server Not Responding,就是这个错误郁闷了我好几天,切记切记。

Schema Version-可以是Current,也可以改成Compatible with Series 7.0 and earlier versions,主要看你是否需要使用其他版本的Cognos产品了。

Server TYpe可以保留默认的Auto Detect,也可以按照实际情况,比如这里我们可以选SunONE/Sun Java System。

Computer设置成Directory Server的机器名,确保可以通过网络连接。本例中我的Directory Server和Cognos在同一台机器上。

Port设置成前面配置SunONE Directory Server时指定的389。

Base distinguished name(DN)设置为前面配置SunONE Directory Server时指定的o=Cognos。

Unrestricted User distinguished name(DN)以及后面的密码设置为cn=Directory Manager
和安装SunONE设置的相应密码。

接下来设置Services->Access Manager-Runtime,同样的设置Directory Server的DN,port等信息,实际上,默认情况下,Runtime的配置和前面应该是一致的。

ok,主要的设置完成,在Services上点右键,选择Apply Selection,等待完成就可以了。

Configuration Manager配置完以后,就可以进行Access Manager的配置了。

注意一定要先配置好Configuration Manager,否则在Access Manager中连接到directory server时会报错:Autehntication Data has not been found。

执行Access Manager-Registration Wizard,配置好Directory Server的Host,Port:389,Base distinguished name(DN):o=Cognos,Runtime administrator distinguished name(DN):cn=Directory Manager和密码即可。

然后打开Access Manager-Administrator就可以看到已经连接上Direcory server,并且已经自动创建了一个default的Namespace,包含一个空密码的Administrator的用户了。这样Cognos就可以使用该Direcory server来进行权限验证了。

可以整个的配置其实不难。关键在于Cognos的报错有点让人摸不着头脑,甚至误导人走入错误的方向。一个Directory server not responding报错,让我将sunONE directory server重装,配置了10来回,浪费了大量的时间。仅以此文记之。

[ 阅读全文 | 回复(1) | 引用通告 | 编辑

  Post  by  杨威利 发表于 2008-7-24 1:20:00
  Re:如何配置Cognos的Access Manager
  qyy1983威哥,你好,我公司用的是Cognos 6的,請教兩個問題,第一個問題是如何將用戶的權限導出來呢?第二個問題是才填入查詢參數以后,提交后立刻報錯,錯誤信息為:A fatal error has occurred.
Please contact your report administrator. This is due either to the CGI program misbehaving or the IWR Servers not functioning.
IWR raised ObjectStore TIX exception: File Name: S:\Imp60\IWR\ReportManager\Service\reportentry.cpp; Line#:2951; Desc.:Unknown internal error in Report Manager. (iwr_raised_tix) ,請問你遇到過類似的問題嗎?我懷疑是系統服務有問題,對了,我的QQ是17409284,能否加我一起交流進步呢?
[ 个人主页 | 引用 | 返回 | 删除 | 回复

  Post  by  qyy1983发表评论于2008-8-5 6:29:36
发表评论:
载入中……
载入中……
Powered by Oblog.