Hi all,
I'm setting up some performance
testing, and to do so, I need to set up a lot of dummy users and user groups. I've got a SQL script that does this quite well in our database, but our system checks against a SunOne LDAP server and when something is in the database but not in LDAP, it automatically disables it. My tests won't work if the user is not able to log in because they've been disabled... (sigh)
So I'm trying to figure out how to get these user and user groups from my database into the LDAP system. I was trying to just read the database and write each entry to LDAP if it doesn't already exist, and that might still work, but I've been having trouble getting the
JDBC connection running properly outside of our usual container and so on.
An idea came up today that might be useful: if I could write an ldif file either from my database tables or maybe even while running the inital SQL script, I could then import the ldif file and get my entries that way.
My question(s): are there any tools or guidance for accomplishing writing that ldif file? Would I be better served by keeping with my initial path? Any suggestions for a better approach to my problem?
Thanks in advance!
Chris