Two Laptop Bag*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
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: 1871
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
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: 1871
Hi Norman
Thanks for the response. I will see how finally we do it and let you know...
Regards
Maulin
 
Don't get me started about those stupid light bulbs.
 
subject: How to import data to LDAP from Database?
 
Similar Threads
ldap jndi mapping
adding users to LDAP with Java
Maintaining Very Large Database(of the order of tens of millions of record) in LDAP
best practice for authentication and role assignation.
LDAP query