Remove external dependency on ldapsearch command, switch to parallel searches, cleanup.