This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Creating user acounts through LDAP using JNDI 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 "Creating user acounts through LDAP using JNDI" Watch "Creating user acounts through LDAP using JNDI" New topic

Creating user acounts through LDAP using JNDI

ms kkhan

Joined: Oct 18, 2003
Posts: 5

hi, friends, long time no response, i am still worried abt the problem i m facing i have designed the other aspects of the system but unable to complete one difficult task, "the creation of user accounts through LDAP using JNDI" like, etc.
that is why i am consulting u people. plz response me and give me some idea abt it.
thanks in advance.
Malik Sikander Khan
Anurag Mishra
Ranch Hand

Joined: Sep 27, 2001
Posts: 133
Hi Khan,
Can you give me a detailed explanation of your problem, like what exactly you want to know, I hope i can help you.
ms kkhan

Joined: Oct 18, 2003
Posts: 5

thanks Anurag Mishra for ur response.
Actually, i am building a website like i have created the part of the project that sends and recievce emails and also created inbox and other things. But, the major problem is this that i want to create web acounts (like hotmail's do ""), so that if user registers on my site let's say, they may create their web acounts like
for this purpose i need to access MS exchange server through JNDI. Now JNDI needs service providers and there is no service provider for microsoft Active directory.
i am in trouble creating my own service provider for MS active plz tell me how to cop with it, and build such thing?
and how and create online web acounts of 4 or 3 mb.
i am also reading ASP CDO & ADSI for this purpose which is relatively easy to do, but i love java & j2ee and hence i want to do it with java.
i want to mention u that java is also the requirments of my client .
then Anurag Mishra , plz write a solution for this. i will be more thankfull to you.
sikander khan
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
In most ways, Active Directory is a standard LDAP V3 directory. Sun's out-of-the-box LDAP Service provider ( should work fine with it.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: Creating user acounts through LDAP using JNDI
jQuery in Action, 3rd edition