How to configure an Analysis server computer to use Kerberos authentication in SQL Server 2000 (828280)
The information in this article applies to:
- Microsoft SQL Server 2000 Analysis Services
SUMMARYWhen a connection is made to a computer that is running Microsoft SQL Server 2000 Analysis Services and that connection
involves a double-hop authentication scenario, you must use Kerberos as the authentication
protocol. For example, in a double-hop authentication scenario, a client
computer may pass the logon credentials to a computer that is running Microsoft Internet
Information Services (IIS). The computer that is running IIS must then pass the logon credentials to
the Analysis server computer. This article describes how to configure an Analysis server
computer to use the Kerberos
authentication protocol. Configure an Analysis server computer to use the Kerberos authentication protocolTo configure an Analysis server computer to use Kerberos as the
authentication protocol, follow these steps:
- Install Analysis Services Service Pack 3 (SP3) or later on the Analysis server computer and on the client
computers that connect to the Analysis server computer.
- Register a Service Principal Name (SPN) for the Analysis
Services service (MSSQLServerOLAPService) on the Analysis server computer.
Note If
the MSSQLServerOLAPService service is running under the security context of the
LocalSystem account, the SPN is created automatically. If the
MSSQLServerOLAPService service is running under the security context of an account
other than the LocalSystem account, you must manually create the SPN. To do so,
use the Setspn.exe utility in the Microsoft Windows 2000 Resource Kit. To
download the Setspn utility, visit the following Microsoft Web
site: After you download the Setspn utility, follow these steps:- To create the SPN for the Analysis server computer that is running under a domain account, run the following command at a command prompt:
full_path_of_Setspn.exe -A MSOLAPSvc/serverHostName.Fully_Qualified_domainNameserverHostName OLAP_Service_Startup_Account - If you must create the SPN for the Analysis server computer that is running under the LocalSystem account, run the following command at a command prompt:
full_path_of_Setspn.exe -A MSOLAPSvc/serverHostName serverHostName
- To verify whether the SPN was created for the Analysis server computer, run the following commands at a command prompt:
full_path_of_Setspn.exe -L OLAP_Service_Startup_Account
full_path_of_Setspn.exe -L hostName - If the SPN was successfully created for the Analysis server computer, the results of the command executed in step 2a or step 2b will typically appear in the following format:
MSOLAPSvc/serverHostName.domainName MSOLAPSvc/serverHostName
- Grant the following user rights to the domain user account
that is used as the logon account for the MSSQLServerOLAPService service:
- Log on as a service
- Act as part of the operating system
- Replace a process level token
- Create a token object
Note You can grant the user rights to the domain user account by
using the Local Security Policy utility in Administrative Tools in Control Panel. - Grant Full Control permissions to the OLAP Administrators Windows group on the BIN and Data folders in the Analysis
Services installation folder. The path of these folders on the
Analysis server computer may be similar to the following:
- C:\Program Files\Microsoft Analysis
Services\BIN
- C:\Program Files\Microsoft Analysis
Services\Data
- Add the domain user account as a member of the OLAP Administrators Windows group.
- If the Analysis Services repository was migrated to SQL
Server, the domain user account must have db_owner permissions on the repository database.
Configure Analysis server computers and Analysis Services client computersMake sure that the following conditions are true on the Analysis server computers and on Analysis Services client computers:
- The Analysis server computers are running Microsoft
Windows 2000 or later.
- The Analysis server computers are in the same Windows
domain or in Windows domains that have a two-way trusted relationship. The
Windows domains are using the Active Directory directory service.
- The system clocks on the Analysis server computers are synchronized. To synchronize the system clocks, use the net time command. For more information about the net time command, visit
the following Microsoft Web site:
- The Reverse Lookup Zones property is configured on the Analysis server computers.
Note Analysis Services performs a reverse lookup of the client
computer's IP address to resolve the NetBIOS name.
For more information about how to create reverse lookup zones, click the following article number to view the article in the Microsoft Knowledge Base:
308201
How to create a new zone on a DNS server in Windows 2000
- The Preferred DNS setting on all the Analysis
Services client computers in the Windows domain point to the same
Domain Name System (DNS) server. For more information about how to configure a preferred DNS server,
visit the following Microsoft Web site:
Configure Active Directory settingsMake sure that all the following conditions are true for the Active Directory settings:
- The Account is sensitive and cannot be delegated setting is not enabled for user accounts that will be delegated.
- The Account is trusted for delegation setting is not enabled for user accounts that will be delegated.
- If a domain account is used to log on to
the MSSQLServerOLAPService service, the Account is trusted for delegation setting is enabled for the domain account.
- The Account is trusted for delegation setting is enabled for the process account for any COM+ component.
- The Trust
computer for delegation setting is enabled on the computer that is running IIS.
Configure Analysis Services client computersMake sure that both of the following conditions are true on the Analysis
Services client computers:
- Microsoft Internet Explorer 5.0 or later is
installed.
- If Internet Explorer 6.0 is installed on the computer, enable
the Enable Integrated Windows Authentication (requires
restart) security option.
Note The Enable Integrated Windows
Authentication (requires restart) option is under
Security on the Advanced tab of the
Internet Options dialog box.
You may have to restart the computer for this setting to take effect.
Configure the settings on the computer that is running IISMake sure that the following conditions are true on the computer that is running IIS in a double-hop authentication scenario:
REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
319723
How to use Kerberos authentication in SQL Server
326985 How to troubleshoot Kerberos-related issues in IIS
283201 How to use delegation in Windows 2000 with COM+
215383 How to configure IIS to support both the Kerberos protocol and the NTLM protocol for network authentication
266080 Answers to frequently asked Kerberos questions
176377 Accessing SQL Server with integrated security from ASP
301423 How to install the Windows 2000 support tools to a Windows 2000 Server-based computer
Modification Type: | Major | Last Reviewed: | 6/15/2006 |
---|
Keywords: | kbKerberos kbCOMServices KbClientServer kbActiveDirectory kbSecurity kbUser kbAuthentication kbCommandLine kbService kbServer kbDatabase kbHOWTOmaster KB828280 kbAudDeveloper |
---|
|