Forum Discussion
dsyk_24949
Jul 13, 2012Nimbostratus
ldap query from within irule?
Hi,
Over time we are migrating users between two different mail systems both providing imaps.
I'm writing an iRule to hand users to a correct backend-server,
The information about what pool the client should be connected to is stored in ldap.
For now it all works - except the ldap-lookup-part.
The below query always return one value, and from that it is possible to parse information about what system the user is in.
ldapsearch -LLL -x -h ldap.server.se uid=username mailRoutingAddress
It seems that the tcl way of executing shell scripts and including external packages have been disabled... is it possible to re-enable it?
Best regards,
David Syk
[edit] typeo, didnt mean ldaps, meant imaps [/edit]
- nitassEmployeei understand it is possible by using either auth profile or sideband connection. anyway, i have not seen an example code.
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