Please post if there is any example/steps to configuring external LDAP and execute LDAP queries on it.
I tried the following
- creating Foreign JNDI Providers
- Created remote and local JNDI names
- from servlet client, I tried lookup using foreign jndi name, local and remote jndi names
Finally lookup with local name succeeded, unfortunately that tried to connect localhost:389. Not sure what went wrong.
Please help with any example.