This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to import data to LDAP from Database? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to import data to LDAP from Database?" Watch "How to import data to LDAP from Database?" New topic
Author

How to import data to LDAP from Database?

Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1865
Hi all,
I have some data in the database tables. How can I import that data into LDAP? I guess if I have LDIF file formatted dump then I can import the data into the LDAP right? I am using Sun Directory server 5.2.
Please let me know if there is a way. I am new to LDAP.
Thanks!
Maulin


1. Have fun @ http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package? Click here
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Yes, LDIF is the normal way to load bulk load data into an LDAP server. I recall in the past using a CVS loader (which is essentially relational information) which transformed the input rows into LDIF entries using a simple template. That might be the general approach you want to take.
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1865
Hi Norman
Thanks for the response. I will see how finally we do it and let you know...
Regards
Maulin
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to import data to LDAP from Database?
 
Similar Threads
ldap jndi mapping
Maintaining Very Large Database(of the order of tens of millions of record) in LDAP
adding users to LDAP with Java
LDAP query
best practice for authentication and role assignation.