Forum Discussion
Greg_H_32561
Nimbostratus
May 18, 2010LDAP Proxy - OU based routing
I've been reviewing the the , which looks great. However, we have a requirement to reselect LDAP pools based on which ou is being updated.
We have two seperate networks with LDAP servers in each network. Let's call them network a and network b. There are also OUs for two different user groups - group a and group b. So what I need is when a write request for OU a comes in, it needs to be routed to the LDAP servers on network a, and when write requests for OU b come in, they need to be routed to servers on network b.
Read requests can be sent to any server. What is the best way to read the OU information from the TCP::collect information?
Thanks in advance.
2 Replies
- Hamish
Cirrocumulus
You're going to have to parse the BER encoded LDAP request yourself... It's not too difficult, but to be complete, you're going to have to remember that you can get multiple LDAP messages in a single packet... It's quite possible that you'll have a bind (And a response expected), and then 2 or more LDAP requests (searches, mod, add etc) in a row (Async requests will be the hard part, you'll have to be prepared for that, and pass whole messages back, it's possible to collect data and have the buffering stop half way through a message). - Greg_H_32561
Nimbostratus
Hamish,
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