Win a copy of Murach's Python Programming this week in the Jython/Python 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!