You're strongly advised to use TLS/SSL for all the connections below (unless the two end sides run on the same host):
You (browser) <---> web container +----> database server | +----> LDAP server
The reasons are:
Below are some HOWTOs that may help: