Hmmm...
I tried this code that I found on in the java connection section
of our documentation:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://localhost:389/ou=system");
env.put(Context.SECURITY_PRINCIPAL, "uid=admin,ou=system");
env.put(Context.SECURITY_CREDENTIALS, "secret");
env.put(Context.SECURITY_AUTHENTICATION, "simple");
InitialDirContext ctx = new InitialDirContext(env);
I still get connection refused.
Any ideas on troubleshooting this?
I looked in the logs and they are pretty clean...
Thanks,
- Ole