This will be "easy" if you can use PAP as the authentication mechanism. The easiest way to do this (unless you want to write a full RADIUS client in Tcl) is to packet capture a simple PAP session - which is a request/accept over UDP and then modify the supplied LDAP script to send appropriate bytes and look for the response. If you use anything more complicated than PAP then you're into a world of pain. There are other posts on the forum where I have given additional information on modifying the LDAP script.
Hope that helps
Cathy
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: