Forum Discussion
Niels_van_Slui1
Altostratus
Dec 09, 2016Citrix Receiver for Windows and adding new account
In my lab I'm trying to setup a Citrix LTM+APM configuration where the BIG-IP
replaces the Citrix Web interface or StoreFront servers. When adding a new
account to the Citrix Receiver for Windows, I ...
jhuetten
Nimbostratus
Apr 27, 2017We have/had the same problem. To get rid of the domain, I've modified your iRule. Now you just have to enter username and password in the Citrix Receiver.
when HTTP_REQUEST {
if { [HTTP::uri] eq "/AGServices/discover" } {
HTTP::redirect "/vpn/index.html"
}
if { [HTTP::uri] starts_with "/Citrix/" } {
if {[HTTP::header content-type] starts_with "text/xml"}{
log local0. "*** Authentication Citrix Receiver ***"
HTTP::collect [HTTP::header Content-Length]
set ContentLength [HTTP::header Content-Length]
}
}
}
when HTTP_REQUEST_DATA {
Please set your domain here
set Domain "domain.local"
set Payload [HTTP::payload]
set NewDomain "$Domain"
log local0. "*** Replacing received domain \"$OldDomain\" with \"$Domain\" to \"$NewDomain\" ***"
regsub -all $OldDomain $Payload $NewDomain Payload
HTTP::payload replace 0 [HTTP::payload length] $Payload
HTTP::release
}
(Edit: Some minor changes in the iRule for setting the domain and logging.)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
