File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes JNDI, connect to M$ AD, search for users, change passwords etc. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI, connect to M$ AD, search for users, change passwords etc." Watch "JNDI, connect to M$ AD, search for users, change passwords etc." New topic
Author

JNDI, connect to M$ AD, search for users, change passwords etc.

Chuck Barnes
Ranch Hand

Joined: Aug 10, 2010
Posts: 37
I am looking for a resource for JNDI. I have a desktop app written in .net that I would like to port to java.

Right now i just need to perform the simple functions to see how this is going to work. User searches etc.

Is there a web resource that gets in depth with this sort of thing?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

M$ AD? What's that?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Chuck Barnes
Ranch Hand

Joined: Aug 10, 2010
Posts: 37
Microsoft Active Directory
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8900
    
    8

The JNDI Tutorial is a good starting place. If I remember correctly, the problem with using JNDI with AD is that you need an authenticate in AD with an administrator account before you can perform any operations. It should not surprise you that MS and Java do not play nice together
Are you keeping this a desktop app or are you going to use an EJB container? I work mostly with Weblogic and have used its internal API to manipulate LDAP. A container may give you some capability that the vanilla Java API does not.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Chuck Barnes
Ranch Hand

Joined: Aug 10, 2010
Posts: 37
Im ok with doing auth to get to AD. I had to provide a way for .net to auth anyway as it was not tied to the currently logged in windows users.

No desktop anymore. Yes something like that EJB. although im not sure what framework to work with.
I am trying to get up to speed on all the different frameworks and decide which is best to use for this project.

Not sure what app server I will be using tomcat, glassfish, etc. so I may not be able to use the latest tech and the server wouldn't support it.

I hope that makes sense, I may just be taking out my ass.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNDI, connect to M$ AD, search for users, change passwords etc.