Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDIF conversion.

Status
Not open for further replies.

TheMisio

Technical User
Sep 26, 2005
229
BE
Dear All,

Does anyone know a tool to convert CSV to LDIF and vice versa?
I need to edit some attributes of around 5000 users. I can get CSV to excel and edit the attributes, but it’s harder to convert back to LDIF.

Is there a tool to allow edit LDIFDE generated files in a similar way to Excel?

Amy help appreciated.

Regards,

Michael
 
I don't know of any pre-built tools that will perform this function.

If you have some experience with VBScript or Perl, that's probably the easiest way to deal with the conversion.

One of the biggest problems you'll run into with an LDIF import is that you must know the current state of the attribute you are changing. The syntax is different depending on whether or not the attribute is empty.

PSC

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top