I can use .Net C# to use DirectoryServices; but I don't know how to use
Directory Services in my Java Middleware.
Does any one have sample Java code on using DirectoryServices?
My current Java code looks like:
Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
But, something is wrong with the third line.
Anyone knows why?