Thanks for the sugestion Stunnel works great. Because the LDAP server (active directory) supports LDAPS I only needed to run
stunnel -c -d ldap -r myserver:ldaps
Then in the config file I set ldap to send its queries to the local host. Thanks again for all of the help.