This was first presented in my post LDAP Authentication with CodeIgniter. This is just a simple library that wraps up the necessary LDAP calls to authenticate a user against LDAP and then set a session cookie that identifies the user as logged in.
Usage is relatively simple: unpack the archive and copy the files into the appropriate CodeIgniter libraries for your application. This usually just means mirroring the directory structure in the zip file over to your CodeIgniter install. The directory structure should look something like this:
| ` auth.php
The files controllers/auth.php, views/auth/login_form.php, and views/auth/logout_view.php are not necessary for the functionality of the library and are provided as an example of how to use AuthLDAP within your application.