| Advertise on warmetal.nl! Click for more information about advertising here. |
Did you find this website useful? Did I save you a lot of time? |
|
This manual describes the steps necessary to enable windows AD authentication for Crystal Reports Server 2008 and Business Objects XI 3.0.
setspn -A BOBJCentralMS/crystalsrv.company.local BOservice
Check:
C:\Windows\system32>setspn -Q BOBJCentralMS/crystalsrv.company.local
CN=BusinessObjects Service,OU=ServiceAccounts,DC=company,DC=local
BOBJCentralMS/crystalsrv.company.local
BOBJCentralMS/crystal01srv.company.local
Existing SPN found!Note: This tab only appears when the previous step is executed correctly.
[libdefaults]
default_realm = COMPANY.LOCAL
dns_lookup_kdc = true
dns_lookup_realm = true
default_tkt_enctypes = rc4-hmac
default_tgs_enctypes = rc4-hmac
udp_preference_limit = 1
[realms]
COMPANY.LOCAL = {
kdc = AD.COMPANY.LOCAL
default_domain = COMPANY.LOCAL
}
com.businessobjects.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required debug=true;
};
<!-- Choose whether to let the user change the CMS name -->
<!-- If it isn't shown the default System from above will be used -->
<context-param>
<param-name>cms.visible</param-name>
<param-value>false</param-value>
</context-param>
<!-- You can specify the default Authentication types here -->
<!-- secEnterprise, secLDAP, secWinAD, secSAPR3 -->
<context-param>
<param-name>authentication.default</param-name>
<param-value>secWinAD</param-value>
</context-param>
<!-- Choose whether to let the user change the authentication type -->
<!-- If it isn't shown the default authentication type from above will be used -->
<context-param>
<param-name>authentication.visible</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>cms.visible</param-name>
<param-value>false</param-value>
</context-param>
<!-- You can specify the default Authentication types here -->
<!-- secEnterprise, secLDAP, secWinAD, secSAPR3 -->
<context-param>
<param-name>authentication.default</param-name>
<param-value>secWinAD</param-value>
</context-param>
<!-- Choose whether to let the user change the authentication type -->
<!-- If it isn't shown the default authentication type from above will be used -->
<context-param>
<param-name>authentication.visible</param-name>
<param-value>true</param-value>
</context-param>-Djava.security.auth.login.config=C:\WINNT\bscLogin.conf -Djava.security.krb5.conf=C:\WINNT\krb5.ini
Note: for this installation we are using RC4 encryption, which is standard for Windows 2008 installations. It is also possible to use DES encryption, but it is discouraged by SAP to use this because of the many problems caused by the DES protocol. However, for testing purposes, it might be usefull to use DES when the encryption is suspected to cause issues.
After importing the groups from the Active Directory it is important to set the correct rights to each imported group. By default, all imported AD groups inherit the Administrators group and the Everyone group in the user security tab of the AD group. Although this looks daunting, this actually doesn’t provide any other right then showing the basic user interface. If we want to add more rights to our AD group members, we have to make certain folders with reports members of members of the newly created AD group aliases in BO. This can be done by right-clicking the folder you wish to share and choosing manage → security → user security. In this screen the folder can be connected to the required (ad alias) group and the level of security (e.g. read, full control) can be granted.
Also, all new AD group aliases have to be member of the Everyone group. Otherwise, no actions will be allowed. Not even if the group is member of Administrators.
When creating administrators, one needs to go to the alias ad group and go to the properties > member of tab. Here, the Administrators group and the Everyone group need to be added. This is enough to grant admin rights.
After configuring AD authentication, we created a testuser “testbo” and ran some tests.
Discussion