Forum Discussion
maurox_59221
Nimbostratus
Oct 22, 2013Ldap query from ltm
Hi all,
I'm searching an irule that would direct all the authenticated users (that belong to a specific group defined on the ldap profile/object) to a specific pool.
All the others users (that aren't...
Kevin_Stewart
Employee
Nov 04, 2013So this value is defined by the client? Are you authenticating the user beyond this query string value?
To get this query string value, you can use the URI::query command. Example:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "microsoft-server-activeSync?cmd" } {
set user [URI::query [HTTP::uri] User]
if { [class match $user my_datagroup] } {
User in data group. Allow access?
}
}
}
By the way, is this user value in every request, or do we need to set and track a session token beyond this (initial?) request?
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