directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <>
Subject [Connect] Troubleshooting
Date Sat, 31 Mar 2007 04:10:57 GMT

I tried this code that I found on in the java connection section
of our documentation:

         Hashtable env = new Hashtable();

         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...

- Ole

View raw message