Hey folks.
I need help please.
I have read a lot about JNDI and I want to get some practical expereince.
I am running WinXP and I want to connect to the active directory.
the code :
Hashtable env = new Hashtable( );
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://localhost:389");
DirContext cir = new InitialDirContext(env);
running the code, I got a communication exception (connection refused)
which ofcourse indicates that there is no such service running.
any ideas ?
all the tutorials said you can
test LDAP inside the localhost !
I am using FAT32, any problem with this ?
help is really appreicated because my brain's cells are burnning.