默认情况下Citrix Web Interface Management Console是不支持修改Authentication Point的,也就是认证发生的位置,比如在AG上或者在Web Interface上。如果我们要修改认证的位置,那么我们就必须创建新的Site,然后重新配置站点。但是有些情况下,如果我们对WI做了很多的定制和个性化以后,重新创建站点,就增加了很大的工作量,这个时候我们可以有更简单的方法来修改。这里只是讲Authentication Point从access gateway修改为web interface,反过来可以逆推。其他方式没做研究。
为了把原来认证位置为AG的改成WI,我们有两个文件需要修改(请关注五角星标示的注释说明):
- bootstrap.conf
#以下内容为Authentication Point为AccessGateway的时候的配置文件 #★★★下面一行为认证方式为AG时候才有,所以如果要改成在WI认证,那么我们需要使用#好注销掉该行 AGAuthServiceURL=https://myserver/as.asmx #★★★下面一行为设置Authentication Point,所以我们需要修改为WebInterface AuthenticationPoint=AccessGateway AGPromptPassword=Off DefaultLocale=en ConfigurationLocation=WebInterface.conf SiteName=XenApp2
- webinterface.conf
# # WebInterface.conf # Ensure that this file is saved with UTF-8 encoding # AccountSelfServiceUrl= # AdditionalExplicitAuthentication=None AddressResolutionType=dns-port #★★★以下三行为AuthenticationPoint为AG的时候才启用的,我们需要注销以下三行,使用#号 AGEPromptPassword=Off AGEWebServiceURL=https://myserver/as.asmx AGAuthenticationMethod=Explicit AllowBandwidthSelection=Off AllowCustomizeAudio=Off ... 省略 ... # AppWelcomeMessage_<lang-code>=[Customized welcome message on the Applications screen in the specified language] #★★★同样,修改AccessGateway为WebInterface AuthenticationPoint=AccessGateway # AutoLaunchDesktop=Off AutoLoginDefault=On
BTW:这两个文件所在位置为:C:\inetpub\wwwroot\Citrix\<site name>\conf\
申明:该方法非官方,不受官方技术支持,实测OK,不保证有其他隐患。
