You can use a simple TCP proxy like JProxy to do that. It simply forward data from a local port to a remote destination. If you use SSL, you may have some validations errors on your web server (because the server certificate (the one for the LDAP server) will not match the IP that send it (the IP of your proxy). However, I know that there is a library in the ADS distribution that encode/decode LDAP requests.
Regards Jeff MAURY On Thu, Sep 18, 2008 at 2:10 PM, Rohit Gupta (rohitgu) <[EMAIL PROTECTED]>wrote: > Hi, > > I am currently working on a project where I am required to intercept an > authentication request being generated for an LDAP server. > > Actually, one of the web servers authenticates is users using an LDAP > server, but the server is now sitting behind a firewall and cannot be called > directly. I am not allowed to touch the box containing the web server, its a > black box. > > So, I was wondering if its possible to intercept all the request being sent > by the web server to the LDAP server ,using some portions of code from the > Apache directory, and the redirect these requests to our LDAP server and > send the response back to the Web server in a format it can understand. > > It will be greatly appreciated if anyone can direct me as to how I can > solve this problem. > > Thanks, > Rohit > -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal Mes CDs à récupérer: http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en
