I'm trying to find a method that would best allow me to import 100k entries to ldap using php. Using ldap_add would probably take forever. I dont know if there is a way to generate an ldif file in php then import it to ldap all through php. Please let me know if this is something that could be done.

Thanks,
-Jacques