Forum Discussion
Bhargav_9588
Nimbostratus
Feb 15, 2010getfield Parsing error
Hello,
I am trying to add an iRule to insert an http header value by stripping out domain from REMOTE_USER header. The following is the iRule I am trying to use:
when HTT...
Bhargav_9588
Nimbostratus
Feb 16, 2010Thanks for your quick response. Parsing error was resolved after adding another backslash. This is how the script looks like:
when HTTP_REQUEST {
set login_user [HTTP::header remote_user ]
if { $login_user contains "\\" } {
set ldap_user [getfield $login_user "\\" 2]
HTTP::header replace SAPUserID $ldap_user
}
}
The authentication that we are using is "Windows Integrated Authentication". Is there any command to get username directly without Domain name appended to it?
Thank you!
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
