Forum Discussion
can you query an ldap group for its members in an irule
I'm trying to build the logic into an iRule to take an action when CLIENT_ACCEPTED = true for a member of an AD / LDAP group?
3 Replies
- Vijay_E
Cirrus
- THi
Nimbostratus
If you have APM provisioned/licensed, you could fairly easily build an access policy with VPE visual policy editor to check the machine info, make an LDAP or AD query for group membership and then assign proper pool resource based on the query result, possibly without any iRule involved. Is the client "human" or machine (ie client application) in your case?
- Nikolay_Matveev
Nimbostratus
If I understood correctly the author of the question said that he wanted to make a load balancing decision based on AD group membership of the connecting computer and do so on CLIENT_ACCEPTED which happens before the APM policy is invoked...
If low performance is not a big issue for the author then, I guess, he could find out computer name via [RESOLV::lookup] and then run a sideband AD/LDAP query using this name and ACCESS::policy evaluate. It seems possible...
The obvious pre-requisites would be the presence of DNS PTR-records for connecting computers and APM module licensed on the BigIP box.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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