• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI and Active Directory  RSS feed

 
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I have WinXP and I want to connect to it using JNDI to get the users informations..
I have read from sun tutorial the following :

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://localhost:389/o=JNDITutorial");
but the problem is I have never used win active directory before, so I

don'tknow its syntax inside my system.
what should I put instead of : ldap://localhost:389/o=JNDITutorial
to access the MS active directory ?
what should I put instead of o=JNDITutorial to access the users informations ?
should I download LDAP server for windows ?
your help is really appreciated ....


[ EJFH: Edited subject line. The original was "First days in AD" which sounded to me as if it would be a question about java.util.Date! ]
[ May 18, 2004: Message edited by: Ernest Friedman-Hill ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!