[x]

Site Alert(s):

  • Server maintenance Saturday Nov 22, 2008, 12:00 PM - 3:00 PM. The Knowledge Center will be unavailable during this time.
Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages:

How to Install Web Interface 4.0 with ADFS Support on a Computer without Microsoft Active Directory Federation Services

Document ID: CTX110392   /   Created On: Jun 28, 2006   /   Updated On: Sep 13, 2006
Average Rating: not yet rated

Summary

This document describes how to install Web Interface 4.0 with ADFS Support on a computer that does not have Microsoft Active Directory Federation Services (ADFS) installed.

Background

The federated authentication capabilities of Web Interface 4.0 with ADFS Support can be adapted to provide support for the federated identity management software from other providers. By design, Web Interface 4.0 with ADFS Support fails to create sites if ADFS is not installed on the same computer. This article provides a sample script and procedure you can follow to use Web Interface 4.0 with ADFS Support when ADFS is not installed on the same computer.

Procedure

Perform the following steps before installing Web Interface 4.0 with ADFS Support:

  1. Log on as an administrator.
  2. Create a text file called adfsSchemaUpdate.vbs and copy the following sample script to that file:

‘---------------------------------------- adfsSchemaUpdate.vbs ---------------------------------

sub addStringProperty(schemaObj, propName)
    On Error Resume Next

    dim propObj
    set propObj = GetObject("IIS://localhost/Schema/" & propName)

    if (Err.Number <> 0) then
        set propObj = schemaObj.Create("Property", propName)
        propObj.Syntax = "string"
        propObj.Inherit = True
        propObj.SetInfo
    end if
end sub

sub addPropertyToClass(className, propName)
    dim classObj
    set classObj = GetObject("IIS://localhost/Schema/" & className)

    dim optPropList
    optPropList = classObj.OptionalProperties

    dim propExists
    propExists = false

    for each optEntry in optPropList
        if (optEntry = propName) then
            propExists = true
        end if
    next

    if (not propExists) then
        dim cnt
        cnt = UBound(optPropList)
        redim preserve optPropList(cnt+1)
        optPropList(cnt+1) = propName
        classObj.OptionalProperties = optPropList
        classObj.SetInfo
    end if
end sub

WScript.Echo "Starting modification of IIS Schema..."

dim schemaObj
set schemaObj = GetObject("IIS://localhost/Schema")

dim newProperties
newProperties = Array("WebSSODomain", "WebSSOPath", "WebSSORU")

for each propName in newProperties
    addStringProperty schemaObj, propName
    addPropertyToClass "IIsWebDirectory", propName
    addPropertyToClass "IIsWebVirtualDir", propName

next

WScript.Echo "Finished."

‘---------------------------------------- adfsSchemaUpdate.vbs ---------------------------------

  1. Save the file.
  2. Run the adfsSchemaUpdate.vbs script.
  3. Install Web Interface 4.0 with ADFS Support.

Perform the following steps after the installation to create a Citrix Presentation Server site. If required, repeat these steps to create additional sites.

  1. From a command line, create a Citrix Presentation Server site using the site management tool as described in CTX109702 – Web Interface with Active Directory Federation Services Support Administrator's Guide.
  2. Open IIS Manager.
  3. In the console tree, select your Citrix Presentation Server site.
  4. On the Actions menu, choose Properties.
  5. Select the Virtual Directory tab.
  6. In the Application settings area, click Configuration.
  7. Remove the ifsext.dll entry from the “Wildcard application maps” list and click Yes.
  8. Click OK.
    Note: If the Inheritance Overrides dialog appears, click OK without selecting any child nodes.
  1. Click OK.

Your Citrix Presentation Server site is now ready for integration with a federated authentication solution.

More Information

Web Interface 4.0 with ADFS Support modifies the Internet Information Services (IIS) metabase when creating new sites. Some of these modifications are valid only if ADFS is installed on the computer. Without ADFS, the modifications cause an error.

The sample script in this article updates the schema of the IIS metabase so that the modifications made by the Web Interface are accepted without causing an error. These modifications do not affect the performance of IIS. One of the modifications to the wildcard application maps, however, must be removed from each site manually by following the procedure above.

For more information about Web Interface 4.0 with ADFS Support, see CTX110118 – Web Interface 4.0 with ADFS support - Frequently Asked Questions.


Search
Knowledge Center
XenApp
XenApp Plugins (Clients)
XenServer
XenDesktop
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager
Does it work with Citrix? Verify it - introducing the new Citrix Ready Community Verified