Forum Discussion
Jason_Witt_4207
Mar 10, 2006Historic F5 Account
Fun with ldap
For anyone that is interested, I recently was posed with the problem of proxying ldap requests. The requirement was to send read and write requests to different pools. As any familiar with ldap know...
Jeff_Jarmoc_439
Nimbostratus
Apr 26, 2007I'm currently facing a problem and it looks liike this irule is most of the way toward what I need. I'm facing an application which performs an ldap modify to create an account, followed by a search to verify the account's existence, and finally another modify to set a password. As this occurs too quickly for our LDAP servers to replicate, we need to persist these connections. Since there's only a small number of client's connecting to this VIP, the result is far from ideal load balancing.
In order to correct this, I'm hoping to modify this irule to allow for persistence based on the CN extracted from the search or modify packet. I think I can handle most of this, but I'm not familiar with LDAP at such a low level as to be able to pull the CN from these packets. Can anyone help me out or point me in the right direction? With the above (wonderfully commented by the way) as a guide, I just need a little help in parsing out the CN from a SearchRequest or ModifyRequest.
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