Loadbalance based on the user AD group

we do loadbalance on AD servers, but also we need to direct the traffic dome users to specific AD server based on the AD group. any idea how can we deploy it,

Thanks In Advance

Do you have APM license? This can be done with APM’s AD group membership query.

No, just LTM, can it be done by iRule? from packet capture i can see that the field we should monitor is (ldap.baseObject == “DC=example,DC=com”) is that right?

It should be possible if the payload contains the group attribute. Here is the example with payload scan to get you started : LDAP Proxy - Community CodeShare - DevCentral - An F5 Technical Community