This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

searching program in LDAP  RSS feed

 
Babu Singh
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am making a program with LDAP to search the name.



but i am facing exception.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file Here:


please suggest how i resolve this issue. or any other searching program in LDAP
 
Peter Taucher
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not an expert, but I think that you should provide an URL as first parameter for the search() method (or use an InitialContextFactoryBuilder).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!