I'm trying to make a module that searches LDAP for users
I think you'll find that LDAP modules for Drupal are primarily for allowing LDAP users to use Drupal.

My understanding of what you're saying is that you just want to display the LDAP users, sort of like a directory system?  

If Drupal doesn't have to really interact with your LDAP users,  you should be able to create your own module for this pretty easily.

There are quite a few LDAP functions in PHP:  http://ca2.php.net/manual/en/ref.ldap.php

Create a module that makes use of them, and then passes the data over to a node for display purposes.